Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How to add SSL certificate (with files .ca-bundle, .crt and .p7b) to a droplet?
I purchased an SSL certificate from Sectigo and want to use it in my droplet.
I received three files from Sectigo:
When I try to add them to my droplet from Account -> Settings -> Security -> Add Certificate
Digital Ocean asks for the following:
- private key
- chain certificate
I tried to put *.crt file content in the certificate, *.p7b file in private key, and *.ca-bundle in chain certificate, but I got the error message “Invalid certificate data: The provided certificate or private key is not a valid PEM block”
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×