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 )

Nginx Proxy Manager Custom SSL upload error

I tried upgrading Nginx Proxy Manager to latest version with following commands

Even after the upgrade this error persist.

I checked logs for the docker container, but there where no errros.

To fix this error, i edited the SSL key file.


Replace with


Replace with

Now close the SSL upload dialogue and start over the custom SSL upload process. It will work.

See Nginx Proxy Manager

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *