HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   port 8080 ssl cert question (http://www.howtoforge.com/forums/showthread.php?t=60251)

rlischer 17th January 2013 22:06

port 8080 ssl cert question
 
I bought a cheap ssl cert from Godaddy for my ISPConfig 3 server. It works fine now, no warnings going to https://server.example.com but if I go to https://server.example.com:8080 I get the cert warning, so 8080 is using the self signed cert. I made sure the server IP http ports were 80,443,8080 when I created the CSR that I pasted into Godaddy's site to rekey.

I am running ISPConfig 3 Debian Squeeze, nginx perfect server etc......

Any idea if 8080 can also use the Godaddy signed cert?

thanks!

pititis 17th January 2013 23:01

Hello,

edit /etc/apache2/sites-available/ispconfig.vhost and change the location or copy the certificate to the already defined location

SSLEngine On
SSLCertificateFile /usr/local/ispconfig/interface/ssl/ispserver.crt
SSLCertificateKeyFile /usr/local/ispconfig/interface/ssl/ispserver.key

Cheers

rlischer 17th January 2013 23:03

Quote:

Originally Posted by pititis (Post 290855)
Hello,

edit /etc/apache2/sites-available/ispconfig.vhost and change the location or copy the certificate to the already defined location

SSLEngine On
SSLCertificateFile /usr/local/ispconfig/interface/ssl/ispserver.crt
SSLCertificateKeyFile /usr/local/ispconfig/interface/ssl/ispserver.key

Cheers

ok, will the apache2 folder still exist if I run nginx? Thanks!

pititis 17th January 2013 23:14

/etc/nginx/sites-available/ispconfig.vhost

server {
listen 8080;
ssl on;
ssl_certificate /usr/local/ispconfig/interface/ssl/ispserver.crt;
ssl_certificate_key /usr/local/ispconfig/interface/ssl/ispserver.key;

rlischer 17th January 2013 23:17

Quote:

Originally Posted by pititis (Post 290857)
/etc/nginx/sites-available/ispconfig.vhost

server {
listen 8080;
ssl on;
ssl_certificate /usr/local/ispconfig/interface/ssl/ispserver.crt;
ssl_certificate_key /usr/local/ispconfig/interface/ssl/ispserver.key;

Thanks a ton!

pititis 17th January 2013 23:18

Don't forget restart nginx!!

rlischer 17th January 2013 23:32

Quote:

Originally Posted by pititis (Post 290857)
/etc/nginx/sites-available/ispconfig.vhost

server {
listen 8080;
ssl on;
ssl_certificate /usr/local/ispconfig/interface/ssl/ispserver.crt;
ssl_certificate_key /usr/local/ispconfig/interface/ssl/ispserver.key;

This worked perfectly, thanks a ton!


All times are GMT +2. The time now is 09:31.

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