Get the most out of your Centmin Mod LEMP stack
Become a Member

SSL subdomain staging SSL with letsencrypt

Discussion in 'Domains, DNS, Email & SSL Certificates' started by jimbojimbo, Nov 19, 2017.

  1. jimbojimbo

    jimbojimbo New Member

    7
    2
    3
    Nov 9, 2017
    Ratings:
    +2
    Local Time:
    1:27 AM
    Hi,

    Ive setup a wordpress vhost on a subdomain on a server ip other than the primary domain which has Letsencrypt certificate already.

    Is it possible firstly to setup a second certificate on a subdomain on another server ip?

    If not how would I remove settings of the self cert SSL to get it running again just on standard HTTP?

    Many thanks greatly appreciate the help and pointers.
     
  2. eva2000

    eva2000 Administrator Staff Member

    31,021
    6,924
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,430
    Local Time:
    11:27 AM
    Nginx 1.13.x
    MariaDB 5.5
    not sure i understand ? got a specific example ?
     
  3. jimbojimbo

    jimbojimbo New Member

    7
    2
    3
    Nov 9, 2017
    Ratings:
    +2
    Local Time:
    1:27 AM
    Thanks for the reply.

    Sure. Of course I can.

    Say you have the main site with a letsencrypt SSL on it at https://domain.com on IP 192.123.0.1. But you then fire up a server on 192.123.0.2 for staging.domain.com. I would like to have HTTPS on that staging.domain.com. I tried a self cert via the WP basic but I am having trouble getting any access via my browsers to it.

    If I cannot have valid HTTPS on that server how would I go back to rolling back the auto 301 redirect in nginx to just handle staging.domain.com with standard HTTP? If that is the simpler solution I would be happy just to go that route.

    Thanks again greatly appreciate the guidance.
     
  4. eva2000

    eva2000 Administrator Staff Member

    31,021
    6,924
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,430
    Local Time:
    11:27 AM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 1
  5. jimbojimbo

    jimbojimbo New Member

    7
    2
    3
    Nov 9, 2017
    Ratings:
    +2
    Local Time:
    1:27 AM
    Thanks so much will take a look at this and give it a go :)

    Greatly appreciated!