Question
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:
*.ca-bundle
*.crt
*.p7b
When I try to add them to my droplet from Account -> Settings -> Security -> Add Certificate
Digital Ocean asks for the following:
- certificate
- 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”