Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 870
  • Last Modified:

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
0
sunilpasupunuri
Asked:
sunilpasupunuri
  • 5
  • 5
  • 2
1 Solution
 
sunilpasupunuriAuthor Commented:
It's not working any browswer like chrome, IE9 and firefox also
0
 
strivoliCommented:
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.
0
 
RadweldCommented:
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.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
sunilpasupunuriAuthor Commented:
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
0
 
strivoliCommented:
Point the bowser to https://sglap34.directasia.com. The browser (behaviour varies on each browser) will inform you that the certificate is not trusted. Follow the steps indicated by each browser to add the certificate to the trusted certificates list. You might also need to add the CA (the sglap34 itself) to the list of trusted CAs.
0
 
sunilpasupunuriAuthor Commented:
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!

 
0
 
sunilpasupunuriAuthor Commented:
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
0
 
RadweldCommented:
Thats a different issue, you can see your Cert is green  but the URL is reporting a licensing issue.
0
 
strivoliCommented:
If the issue treated on this thread has been resolved, plase kindly close this case. Thank you.
0
 
sunilpasupunuriAuthor Commented:
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
0
 
strivoliCommented:
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.
0
 
strivoliCommented:
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.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 5
  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now