Self-signed Cert Not Working Due to Chrome latest update

  • | 1022 points

    This issue happens because the reason below

    The certificate for this site does not contain a Subject Alternative Name extension containing a domain name or IP address.

    Any idea to fixed it ?
    I try to revise openssl.config but it seen doen't work

  • administrators
    | 76765 points

    You can check @Kurre's answer here:

    But your browser is nagging about untrusted certificate :disappointed:
    You need to add it as trusted certificate...In Chrome go to chrome://settings :arrow_right: Advanced settings :arrow_right: HTTPS/SSL :arrow_right: Manage certificates
    Now we need to import newly created certificate to Chrome's certificate store
    Select import and select file which you created earlier
    Important: Now you need to select the certificate store where you want to store this certificate.
    Select Place all certificates in the following store and to Certificate Store: select Trusted Root Certification Authorities
    Click Finish/OK and restart your browser. Now you can browse to without browser nagging about the certificate :)

    Hopefully you can get certificates working with this method..I wrote this text in a little rush, so please ask if you have some problems

  • | 1022 points

    @leokhoa sorry, I think you are misunderstanding...
    This issue happens due to latest chrome update, please check the link below

    I know how to whitelist the self-signed cert in the browser, as evidence, please view screenshot below,

    Please note that the cert is auto generated by laragon

    This is the error chrome show to me, missing SAN

    Imported to chrome

    The content of cert

    The solution I found :

    1. open config file in laragon\bin\apache\httpd-2.4.25-win64-VC14\conf\openssl.cnf

    2. follow solution in StackOverflow

    change * in alt_names to your own domain, eg mine is

    1. cd to laragon\etc\ssl, and run command below

    openssl req -x509 -nodes -sha256 -days 365 -newkey rsa:2048 -keyout {}.key -out {}.crt

    This is the cert generated

    change ssl cert path in auto.{}.conf, and import into chrome

    re-open browser and reload laragon


  • administrators
    | 76765 points

    @LostNCG : Nice solution!

Log in to reply

Looks like your connection to Laragon was lost, please wait while we try to reconnect.