Search code examples
sslwso2

WSO2 - SSL troubleshooting: ERR_CERT_AUTHORITY_INVALID


I'm following this procedure to create a certificate for my WSO2 website: Create Keystore, Export the public cert, Import the public cert to truststore, Copy jks files to servers. I use CN= local.wso2.com and in my hosts file there is the mapping 127.0.0.1 local.wso2.com My browser ( Chrome and Edge ) send the error "NET::ERR_CERT_AUTHORITY_INVALID" with the url "local.wso2.com:9443/carbon/" I can go on in interactive mode but I'd like to create a correct certificate, some ideas?


Solution

  • There is a difference between the browser trusting the certificate and WSO2 trusting the certificate. If you want a valid certificate you need to buy one or get a free one from a Certificate authority. E.g. https://letsencrypt.org/