Creating self signed certificate for domain and subdomains - NET::ERR_CERT_COMMON_NAME_INVALID

前端 未结 9 2210
后悔当初
后悔当初 2020-12-04 10:27

I followed this tutorial for creating Signed SSL certificates on Windows for development purposes, and it worked great for one of my domains(I\'m using hosts file to simulat

9条回答
  •  独厮守ぢ
    2020-12-04 11:17

    As Rahul stated, it is a common Chrome and an OSX bug. I was having similar issues in the past. In fact I finally got tired of making the 2 [yes I know it is not many] additional clicks when testing a local site for work.

    As for a possible workaround to this issue [using Windows], I would using one of the many self signing certificate utilities available.

    Recommended Steps:

    1. Create a Self Signed Cert
    2. Import Certificate into Windows Certificate Manager
    3. Import Certificate in Chrome Certificate Manager
      NOTE: Step 3 will resolve the issue experienced once Google addresses the bug...considering the time in has been stale there is no ETA in the foreseeable future.**

      As much as I prefer to use Chrome for development, I have found myself in Firefox Developer Edition lately. which does not have this issue.

      Hope this helps :)

提交回复
热议问题