Link to home
Start Free TrialLog in
Avatar of e-itregister
e-itregister

asked on

Turnkey Linux SSL installation

Hi all

We have a Linux Webserver that requires a SSL certificate installed. I have generated the files according to the Comodo SSL guides. But I can't get it to load apache with the new certs. I have tried changing the conf files and i get errors that the server can't reliably determine the server's fully qualified domain name and it doesn't start at all.

I can give more details if needed but I am not sure what to send.

Kind regards
Francois
Avatar of Zephyr ICT
Zephyr ICT
Flag of Belgium image

Is your hostname configured correctly? What displays when you type "hostname" on the cli?

You can try by adding your hostname into a file and link it ... Something like this:

Create a file in /etc/apache2/conf-available/ and name it something like server_name.conf

In that file put this: ServerName <your-hostname>

Safe and close the file then run following command:  a2enconf server_name
Avatar of e-itregister
e-itregister

ASKER

It is running wordpress and when I type in hostname it shows wordpress. Can I change this without breaking my wordpress?
You should be able to create the file without interrupting anything ... But running the a2enconf script might interrupt it shortly ... It might not but there's a small risk so...
Can I revert the changes if something goes wrong? I tried to type in a2enconf but said command not found. Do i need to install it first?
My server also doesn't have a conf-available folder. please see attached screenshot
Clipboard01.jpg
ASKER CERTIFIED SOLUTION
Avatar of Zephyr ICT
Zephyr ICT
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi

Thanks that solved the name issue. Not the other issue yet.
Ok, as I suspected ... Can you give me an overview of what you have configured for the ssl?
You have the keys, set the permissions on the files (keys) in /etc/ssl/certs/ and adjusted the config in your Apache to reflect this?

Maybe you can post a screenshot of the config?