Acme Autocert Certificate Accepted in Safari but not in Chrome


#1

Hi,

I’ve just writing a simple echo services which utilising acme autocert for self signed certificate.
The certificate is well accepted in safari but simply rejected by chrome.

Chrome complaining that the certificate is not valid and in the backend this error message is displayed : echo: http: TLS handshake error from 36.72.23.185:54947: remote error: tls: unknown certificate

This is the code that I used for self signing :

e.AutoTLSManager.HostPolicy = autocert.HostWhitelist(domain)
// Cache certificates
e.AutoTLSManager.Cache = autocert.DirCache(".")
e.Logger.Fatal(e.StartAutoTLS(":443"))

Am I doing something wrong ? Did I miss some configuration steps ?

Thanks in advanced.

Kind regards,
Ahmad R. Djarkasih