Regardless of web server, there are two components you need for an SSL certificate to work on the server: the certificate and its CA chain, and the keys.
If you have a certificate for your domain and a corresponding key, then you need to upload those to the server somewhere that Apache can read them. Apache runs as www-data, but I believe its master process runs as root to read SSL certs and config files that are not open to www-data and then drops privileges.
My suggestion is you do the following steps:
Create a directory in /etc/ssl
for your certificate and private key file to live - sudo mkdir /etc/ssl/osticket/
for example
Copy the contents of your certificate file into a file osticket.crt
in the /etc/ssl/osticket/
folder. You may need to use sudo
with whatever text editor you prefer on the environment.
Copy the contents of your private key file into a file osticket.priv.pem
in the /etc/ssl/osticket/
folder.
Update your Apache configuration as follows:
SSLCertificateFile /etc/ssl/osticket/osticket.crt
SSLCertificateKeyFile /etc/ssl/osticket/osticket.priv.pem
Restart the apache service - sudo systemctl restart apache2
Then try accessing your site.
code
using the {_} icon above the edit window.