madcowfred / GoPostStuff

Multiple connection USENET binary poster written in Go
MIT License
32 stars 24 forks source link

Handling of invalid certificates #7

Closed twiddern closed 10 years ago

twiddern commented 10 years ago

I just wanted to post something and got the following message

CRITICAL [serverfarm] Error while connecting: x509: certificate has expired or is not yet valid

It should be possible to post even without a valid certificate (allow via a flag or config) In this case, the certificate is expired AND not valid (self signed)

madcowfred commented 10 years ago

Hi, apologies for the massive reply delay. I'll see about adding a flag/config option to ignore SSL errors.

madcowfred commented 10 years ago

Added, see new server/InsecureSSL option in sample.conf.