Dear Sir or Madam,
I am trying to setup a test HTTPS Web server in a specific domain created in the local machine and with the DNS Server of the machine (everything is in a local network for testing).
The HTTP web server is working with the http://www.exampledomain.com
However, in HTTPS, there is a problem since it is not possible to work with https://www.exampledomain.com. The Certificate is included in the "Trusted Root Certification Authorities" store but the web browser gives an error:
NET::ERRCERTCOMMONNAMEINVALID
This server could not prove that it is www.exampledomain.com; its security certificate is from localhost. This may be caused by a misconfiguration or an attacker intercepting your connection.
Note: https://localhost is working fine.
I do not know if this is a limitation of the application due to that the certificate that is created is only valid for https://localhost and the application can only work with https://localhost.
I do not know if there is a way to include more Server URLs in the application or any way to overcome this problem.
Any comment is welcome.
Thanks.
Best regards,
Eduardo