I have purchased my certificate from Namecheap, and they gave me .crt and .ca-bundle
I’ve followed this tutorial: https://www.digitalocean.com/community/tutorials/how-to-create-a-ssl-certificate-on-apache-for-ubuntu-14-04
But it doesn’t work, does anyone know why I still can’t access https://mydomain.com?
At this point, I’ve gone through so many tutorials from DigitalOcean whether needed or not because the tech support always give me a tutorial link without knowing what my actual problem is.
Some of the modification I’ve made were from these tutorials: https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-14-04https://www.digitalocean.com/community/tutorials/how-to-create-a-ssl-certificate-on-apache-for-ubuntu-14-04 https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-with-a-free-signed-ssl-certificate-on-a-vps
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
The most common hang-up is configuration for and installation of the file containing the CA bundle, if your cert provider requires one (most of the cheaper ones do).
In most of my VirtualHost config sections I have something like:
SSLEngine on
SSLCertificateKeyFile /etc/ssl/private/somehostname.com.key
SSLCertificateFile /etc/ssl/certs/www_somehostname_com.crt
SSLCertificateChainFile /etc/ssl/certs/somehostname.com.ca-bundle
In some of the comments on the DO tutorial you referenced you’ll see some discussion about this.
Generally though, the best place to look, after setting up the basics of SSL on your server, is to check the documentation provided by your specific cert provider. This will factor in whether they use a CA bundle or not and the naming scheme they use for the files. If you buy your cert through a reseller, check your order details (to get the actual type/company behind it) and then their knowledge base. They will generally link to the appropriate install instructions as long as you know your web server type (e.g. Apache + mod_ssl)
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.