Link to home
Start Free TrialLog in
Avatar of sunilpasupunuri
sunilpasupunuriFlag for India

asked on

How to configure self signed certificate to localhost website in IIS7.5 and windows 7

Hi,

How to configure Self signed Certificate to local host webapplication.

I have created Self signed certificate and bind(https:ssl:443) to local host web applications. But not working properly. I have attached screenshot.
How to configure local host webapplication in locally using IIS7.5 and windows 7

First time login using Secure url then after that gets error. see the screenshot2

Self-Signed-Certi-IIS-7.5.png
Self-Signed-Certi-IIS-7.5-error2.png
Avatar of sunilpasupunuri
sunilpasupunuri
Flag of India image

ASKER

It's not working any browswer like chrome, IE9 and firefox also
Avatar of strivoli
There might be 2 kind of issues:
a. the certificate has been released to the machine name (for example: PC1) and you are browsing localhost. Localhost does not match PC1, hence the certificate error. Try browsing PC1: what happens?
b. the CA is known to the browser. Since it's a self signed certificate I suppose it has been generated by PC1 itself. You should add PC1 to the list of known CAs.
Let me know.
I'm guessing the name of the server specified in the certificate is not localhost, Also self signed certificates are pretty useless unless you export the private key and import that into every pc that's going to connect.

The issue you asked the question on is definately the wrong name, if you access the server from a different pc you will still gets errors saying the cert is un trusted but this error will go away.
Hi,
I have attached the IIS self signed certification and configure to local host website.

How to configure self signed certificate to localhost website in IIS 7.5 and windows 7. {lease provide following steps.

I am waiting for your value information
Self-Signed-Certi-configure-to-l.png
ASKER CERTIFIED SOLUTION
Avatar of strivoli
strivoli
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi strivoli,

Thanks for replied. It's  solved :). I am testing some more,  So i will close this issue after 1 day after if everything success.

Thanks again!

 
Hi strivoli,

Please find the attached the screen for different urls

1. working aspx pages both localhost and  http://sglap34.directasia.com if no secure url
2.  Working secure aspx page only  machine name  https://sglap34.directasia.com
3. But kentico cms working only only localhost not working on the http://sglap34.directasia.com instead of localhost.

aspx pages are working both machine name and localhost but why cms opage only working on localhost only.

But applications under  same website only

May I know the reason?

Thanks again!
localhost-sysname-url.png
Thats a different issue, you can see your Cert is green  but the URL is reporting a licensing issue.
If the issue treated on this thread has been resolved, plase kindly close this case. Thank you.
Its solved. Thanks. Can you check the my last comment. Only I need only. ASPX pages working both machin name and local host but cms pages not working machine name only working on local host only
I'll give it a try and report back this afternoon. In the mean while, if you have further infos or if you solve yourself, please report. Thanks.
Treating 2 issues on the same question is not a good practice. Kindly open a new question in area Windows 7 since is one of the areas I keep monitored daily. I already have some suggestions but (in accordance to this site's rules) I'll explain on a new question. Tips: write my nickname in brackets in the subject of the new question (it will be easier to locate it). Take 1 (and only 1) ASPX page and report behaviour of this ASPX page in the 4 following scenarios: http, https, localhost, sglap34. Bye.