HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Installing ssl certificate in ispconfig from 123-reg ssl (http://www.howtoforge.com/forums/showthread.php?t=62012)

ginner159 29th May 2013 09:18

Installing ssl certificate in ispconfig from 123-reg ssl
 
1 Attachment(s)
Hi all,

I am asking for a little assistance in installing a purchased ssl certificate from 123-reg.co.uk

I have purchased and downloaded all the files that come with buying the ssl but this is my first time in buying one. I got a properly signed cert as i currently have setup a few domains but i want to use one domain to address email and ispconfig 3 without the annoying warning message. (setting up a small hosting site for friends and family)

ie, mydomain.com - used for mail.mydomain.com and mydomain.com:8080 (ispconfig port)
client1domain.com, client2domain.co.uk ect use dns mx records pointed at mail.mydomain.com and cname pointed at admin.mydomain.com (for client login panel)

I have setup my VPS (hosted at HTTPNode) using http://www.howtoforge.com/perfect-se...ot-ispconfig-3 and have got emails and everything working.

Here is a image of what i have got from them (domain removed for privacy, also attached)
https://www.dropbox.com/s/ktu0v8aawboze5s/Capture.PNG

Id like to be able to use the ssl cert for email (like on phones to remove the not trused messgae), remove the warning on ispconfig page and to secure the registered domain.

I know it sounds alot and im thankful for any help you can give me. im not a total *nix noob but ive still alot to learn

Thanks,
Matt

ginner159 30th May 2013 22:31

50 views! can anyone help me?

monkfish 30th May 2013 23:11

http://bit.ly/11aDO4q

Quote:

mydomain.com - used for mail.mydomain.com and mydomain.com:8080
Did you buy a wildcard SSL certificate; ie *.mydomain.com as the world of SSL says the above two are different realms. Makes a difference as even if its SSL enabled your browser may still throw a warning as the site won't match the certificate. Worth checking.

These notes are specific to a/my Centos build. You will have to adapt as necessary.

- Sites > mydomain.com > web domain tab, enable SSL click save
- under SSL tab paste key and cert or paste bundle and save.
- wait for job to update config and look in /var/www/mydomain.com/ssl where you will see mydomain.com.crt and mydomain.com.key files
- copy your intermediate.crt file into same folder
- Go back to ispconfig control panel under sites > mydomain.com > options and in apache directives enter a line "SSLCertificateChainFile /var/www/mydomain.com/ssl/intermediate.crt" to match the filename you entered.
- Save and test

For ispconfig same principle but you may have to modify /etc/httpd/conf/sites-available/ispconfig.vhost yourself and enter SSLCertificateChainFile as a line in there manually. The ispconfig certs live in /usr/local/ispconfig/interface/ssl. Overwrite the .crt and .key files with yours and don't forget to copy the intermediate crt as well. Restart apache.

HTH


All times are GMT +2. The time now is 05:07.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.