Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Secure connection #2

Open
FVilli opened this issue May 12, 2022 · 4 comments
Open

Secure connection #2

FVilli opened this issue May 12, 2022 · 4 comments

Comments

@FVilli
Copy link

FVilli commented May 12, 2022

I was unable to connect with secure connection. Has anyone else had the same problems?

@sepych
Copy link
Owner

sepych commented May 12, 2022

You could try to define the TLS version during a connection if your server doesn't support TLS1.3

cp.connect('wss://...' ,{
secureProtocol: 'TLSv1_2_method'
});

@FVilli
Copy link
Author

FVilli commented May 12, 2022

I'm try to use stations by ABB that want secure connection and also they check the certificate instance. So by a dedicate portal I have to load certificate to device and I have to be sure that my server use that certificate. How do I verify which certificate my ocpp server is actually presenting with ? I'm using https://www.geocerts.com/ssl-checker but it responds "Net::ReadTimeout". So I'm trying Postman ...

@sepych
Copy link
Owner

sepych commented May 12, 2022

I haven't done it myself, but maybe you could try to set up nginx for reverse proxy and set your certificates there.
https://www.tecmint.com/nginx-as-reverse-proxy-for-nodejs-app/

@FVilli
Copy link
Author

FVilli commented May 12, 2022

I'm using traefik (with docker)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants