port 8080 ssl cert question

Discussion in 'Installation/Configuration' started by rlischer, Jan 17, 2013.

  1. rlischer

    rlischer HowtoForge Supporter

    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!
     
  2. pititis

    pititis Member

    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
     
  3. rlischer

    rlischer HowtoForge Supporter

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

    pititis Member

    /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;
     
  5. rlischer

    rlischer HowtoForge Supporter

    Thanks a ton!
     
  6. pititis

    pititis Member

    Don't forget restart nginx!!
     
  7. rlischer

    rlischer HowtoForge Supporter

    This worked perfectly, thanks a ton!
     

Share This Page