Author Topic: SSL for hostname and CWP https access  (Read 4816 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
SSL for hostname and CWP https access
« on: May 03, 2019, 11:21:47 AM »
Hello,
I have bought ssl certificate for my hostname / subdomain.. but cant make it work with my cwp / https also my postfix cant load certs. I loaded my subdomain and activated certs and showing them correctly on installed ssl certs.

Any help to get this working with bought ssl cert and how to load it and use with cwp/mail....

Best Regards
Goran

Offline
*
Re: SSL for hostname and CWP https access
« Reply #1 on: May 04, 2019, 06:43:24 AM »
Good Morning..

  I am no expert, but I can give you some ideas to play with....
 
  Backup folder /etc/pki/tls

  copy  your cert /etc/pki/tls/cert/domain.com.cert (replace domain.com with hostname)
  cd /etc/pki/tls/cert
  ln -s hostname.cert hostname.crt

  Now dont get confused there is a file called hostname.crt in that folder

  So cp YOUR-HOSTNMAE.cert hostname.crt

 cd /etc/pki/tls/private

 copy your HOST-NAME key to this folder

  same problem here there is a hostname.key here to

  cp YOUR-HOSTNMAE.key hostname.key

Restart your httpd deamon

then goto https://your-host-name:2031

Depending on what cert you brought you may need to put hostname-bundle in /etc/pki/tls/cert folder

If you do, dont forget to restart httpd deamon again..

I hope this helps

All the best from Alan