G'day,
I'm trying to install my SSL that I have received from RapidSSL onto my web server on my Raspberry Pi.
I have three files;
private key *.key and
publickey *.crt
intermediatekey *.crt
I have moved these three files into:
/etc/apache2/ssl-certs
However, I cannot really find documentation regarding where to install these files exactly i.e. where to move these two files so that apache will read them properly.
I have also edited the file here:
/etc/apache2/sites-available/default-ssl.conf
with
SSLCertificateFile /etc/apache2/ssl-certs/rapid***publickey.crt
SSLCertificateKeyFile /etc/apache2/ssl-certs/private.key
and under Certificate Authoority(CA):
SSLCACertificatePath /etc/apache2/ssl-certs
SSLCACertificateFile /etc/apache2/ssl-certs/rapid***intermediate.crt
When I try to run a2ensite and mywebsite.com,
I get the error:
Site mywebsite.com does not exist!
Could someone please point me in the right direction?
Thank you.
Pundit.