-
Notifications
You must be signed in to change notification settings - Fork 465
Ever Platform Server SSL certificates
For use of the HTTPS endpoint on Server, SSL Certificates should be generated.
We have the following default settings on the Server (you can override in the .env
file or ENV vars):
HTTPS_CERT_PATH=certificates/https/cert.pem
HTTPS_KEY_PATH=certificates/https/key.pem
So, by default, the server looks for certificates in the backend/api/certificates/https
folder.
If no certificates found in such path, during server start (yarn run:server
) the server attempts to generate self-signed certificates (for development usage only!) and save them into backend/api/certificates/https
folder for future local usage.
Internally, it uses Pem module, which assumes you have openssl
available in your PATH.
On Windows, the most simple (and relatively safe) way to install openssl
is probably using Choco, see here for more details.
Note: after you install openssl
with Choco other some other way, do not forget to reopen your console so it uses updated PATH variable and can locate installed openssl
.