Hello,
im facing a problem with permission for the ssl certificate. The app starts without any problem via SSH but when im starting it with the Plesk NodeJs App im getting the following Errror:
Now I tried a lot to give the right permissions to the directory with chmod and chown but it is not working.
I found this Thread: Resolved - Files With Bad Permission: User and Group is Root
They come to the conclusion, that its not neccessary to specify the SSL certs in the app. But my app is using socket.io and if i dont specify the certificates in the app im getting connection Errors caused by SSL.
So maybe for a classic webapp this would be no problem but im trying to run a plain server here. It has no interface on the browser.
Can anyone help me?
im facing a problem with permission for the ssl certificate. The app starts without any problem via SSH but when im starting it with the Plesk NodeJs App im getting the following Errror:
Code:
Error: EACCES: permission denied, open '/usr/local/psa/var/modules/letsencrypt/etc/live/mydomain.com/privkey.pem'
Now I tried a lot to give the right permissions to the directory with chmod and chown but it is not working.
I found this Thread: Resolved - Files With Bad Permission: User and Group is Root
They come to the conclusion, that its not neccessary to specify the SSL certs in the app. But my app is using socket.io and if i dont specify the certificates in the app im getting connection Errors caused by SSL.
Code:
ERR_SSL_VERSION_OR_CIPHER_MISMATCH
So maybe for a classic webapp this would be no problem but im trying to run a plain server here. It has no interface on the browser.
Can anyone help me?