Nginx Proxy Manager Certificate Key is not valid
When adding custom SSL on Nginx Proxy Manager, i get following error.
Upload failed: Certificate Key is not valid (Command failed: openssl ec -in /tmp/15dbf072-4022-aee94-0f88e4fb8d86/tmp -check -noout 2>&1 )
I tried upgrading Nginx Proxy Manager to latest version with following commands
1 2 3 |
cd ~/nginx-proxy-manager/ docker-compose down docker-compose down |
Even after the upgrade this error persist.
I checked logs for the docker container, but there where no errros.
1 |
docker logs -f nginx-proxy-manager_app_1 |
To fix this error, i edited the SSL key file.
Find
1 |
-----BEGIN PRIVATE KEY----- |
Replace with
1 |
-----BEGIN RSA PRIVATE KEY----- |
Find
1 |
-----END PRIVATE KEY----- |
Replace with
1 |
-----END RSA PRIVATE KEY----- |
Now close the SSL upload dialogue and start over the custom SSL upload process. It will work.