Lennart Koenraads's picture

Hello, At this moment i try to migrate my website from Xampp to Turnkey version 17.1. I ran into an issue to replace the SSL certificate which i am using now on Xampp. cabundle.crt , server.crt, server.key. I bought this certificate form my hosting provider and i want to use it in Turnkey, but in Turnkey i saw that i can only use a PEM certificate. Is it possible to replace the default certificate to my own certificate and how can i do that. I tried using the following link, but i get a lot of errors, but no SSL. https://www.turnkeylinux.org/docs/confconsole/letsencrypt Also when trying to run the entire Joomla site on https i get the following error: HTTPS has not been enabled as it is not available on this server. HTTPS connection test failed with the following error: fsockopen(): unable to connect to ssl://X.X.X.X:443 (Unknown error)

Lennart Koenraads's picture

I converted my SSL certificate from .crt to PEM with this site:


I replaced (Copy) the new cert.pem and cert.key to: 


Reboot Turnkey appliance but Apache is not able to start. Restoring the original files Apache starts fine.

Jeremy Davis's picture

Hi there, sorry I'm just catching up. A little earlier I replied to a very similar post. Please have a look at that.

Add new comment