Common Name invalid with NGINX

  1. Decide what your β€œdev” domain will be (distinct to your prod domain). - already defined, oh2.domain.net is my working Prod domain. automate.nsautomate.com.au is my Dev Domain

  2. Clone the port 80 and port 443 server blocks on your prod nginx, changing the server_name to your dev domain, and changing the proxy IP address to your dev OpenHAB. - Got it, I think i can do that :slight_smile:

  3. Issue a Certbot certificate on your prod server for your dev domain. - AHH! Right, so I put NEW certs onto my Prod server

  4. Update the dev server block to use the dev domain certificate. - Roger

OK, ill back up my Prod configuration and give this a go :slight_smile:
Thank you! ill report back

1 Like