https on server url

Discussion in 'ISPConfig 3 Priority Support' started by kwickcut, Mar 10, 2019.

  1. kwickcut

    kwickcut Member

    how do i go about adding ssl to the server url. would i add the site in isp config and then go to site/ssl and create?

    i have tried above but when i try to validate the cert through http i get folder not found.



    kwick
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you try to create a site with the server hostname and then just enable the Let's encrypt and SSL checkboxes, this should create a website for the hostname with Let's encrypt cert.
     
  3. kwickcut

    kwickcut Member

    yes i have did.
    website/mysite/ssl/create cert
    then copied SSL Request and entered in to ssl sert company and verified then was issued mysite.com.cert and my_ca_bundle

    mysite.com.cert was entered in SSL Certificate
    my_ca_bundle was installed in SSL Bundle
    then clicked Save Certificate/Save
    now if i enter mysite.com i am getting the Apache2 Ubuntu Default Page
    if i go to https://mysite.com i am getting the Welcome to you website! from isp comfig
    now i do have other sites with ssl and i cross checked the site and everything in the isp config area is the same.

    second part that i would like is when i go to https://mysite.com:8181 for the ssl to work. can i also install this Certificate into isp config?


    thanks

    kwick
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

  5. kwickcut

    kwickcut Member

    thank you for the reply.

    yes the site is using * for the ip in IPv4-Address and i am still getting the apache page under www

    also i dont know if this is correct but it worked i edited the following files by adding the updated cert info.
    ispserver.csr
    ispserver.crt
    ispserver.key

    i just did the following
    cd /usr/local/ispconfig/interface/ssl/
    vi ispserver.csr
    vi ispserver.crt
    vi ispserver.key
    i did not touch ispserver.key.secure because i didnt know what it was.

    then i cd /
    then restarted apache
    /etc/init.d/apache2 restart

    now when i goto ispconfig it is secured.
     

Share This Page