Hello,

SSL does not care about IPs or network rules, only about the content of 
certificates. If you want reach something via SSL and state the IP, the 
certificate has to be valid for the IP.

You need to add two subjectAlternativeNames when creating your certificate;
127.0.0.1 and localhost

For testing I sometimes fiddle with /etc/hosts and just add an entry for 
domain-name in one of subjectAlternativeNames and set it to 127.0.0.1

Regards
Mirko

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to