Last post May 01, 2019 01:48 AM by Wei Zhang
Apr 29, 2019 06:44 PM|Gopi.MCA|LINK
I have installed my app in IIS
when i open in google chrome it showing like this
Any best option to remove this on page load using asp.net c#
Apr 29, 2019 07:01 PM|mgebhard|LINK
Add a certificate to IIS and configure the site to use SSL.
Purchase a certificate if you want Chrome to trust the certificate.
Apr 30, 2019 03:29 AM|Wei Zhang|LINK
Hi Gopi. MCA,
According to your description, this message means your domain has no trusted certificate when you enter https request to your website.So you should add a self certificate and then put it in Manage computer certificate module in your computer.Here are the
steps, I hope it could help you.
New-SelfSignedCertificate -DnsName "www.site2.com" -CertStoreLocation "cert:\LocalMachine\My"
note: site2 is the name of your domain
You could find it in iis server certificate module as below:
2.add https bindings to your site, make sure domain same as that in your self certificate.
3. in Manage computer certificate module of your local machine ,use ctrl+ c copy the self certificate to trusted Root Certification tag, you could see:
Apr 30, 2019 06:21 PM|Gopi.MCA|LINK
Thanks For Your Code
If website is in our local computer IIS windows 10 version then the above work..?
For example Our page will look like this in address bar our local LAN IP 192.XXX.XXX.XXX/app/welcome.aspx the above works?
Apr 30, 2019 07:43 PM|KathyW|LINK
Is this website a public site, or an internal site for your company?
Chrome warns whenever the site is not a https:// site with a trusted certificate. Any site that can only be reached via http:// or which can be reached by https:// but where the certificate is not trusted (self-signed certificates generally are not), will
show that warning.
For a public site, you probably don't want that warning, since it might concern visitors,. In that case you would get a trusted SSL certificate and redirect requests to https://
If this is an internal company site, only, it's up to you to decide if that warning matters. Most certificate providers do not do it by IP, but by domain.
May 01, 2019 01:48 AM|Wei Zhang|LINK
According to your description, you should realize the reason for showing 'No secure' Message.It is because you have asked https request in browser and there is no confident certificate for https request. So, what I do just put a self certificate for you
domain to trust certificate of your machine.So it could only work for your local machine because other machines doesn't have trusted certificate for your domain.
Then for your next question,yes it worked, you only need to put your domain
192.XXX.XXX.XXX to make a self certificate and then put it in the trust folder. You could see as below: