Installing a Purchased Certificate for host.name.com

trover

Verified User
Joined
Nov 4, 2015
Messages
76
Hi,
i try to install a purchased certificate to host.name.com,

so:
1. create a certificate request:
https://help.directadmin.com/item.php?id=256
2. Installing a Purchased Certificate:
https://help.directadmin.com/item.php?id=15
3. add/change ( "SSL=1" & "ssl_redirect_host=host.name.com" ) to directadmin.conf
---
and seems its ok.

but i have 2 different result:
Code:
https://host.name.com
https://host.name.com:2222

for first one: Common Name localhost MISMATCH
for second (with port) : Common Name host.name.com (and everything is fine.)

So is this fine? or this issue can be fixed?


note: web-server is Apache.
 
You need to configure the certificate on apache aswell, the guide you've used is for DA.

You need to place the certificate in:
/etc/httpd/conf/ssl.crt/server.ca
The CA in:
/etc/httpd/conf/ssl.crt/server.crt
The key in:
/etc/httpd/conf/ssl.key/server.key

Then you need to restart apache.

Regards
 
No, this is for apache, honestly i never did on nginx, so i really don't know where those files should be stored for that service.

Regards
 
Back
Top