开发者

Set up https on the localhost

开发者 https://www.devze.com 2023-01-18 19:35 出处:网络
I have an error occuring on a page that only happens when I access the page through https.I need to configure https on my local machine for testing but am not sure how to go about it?

I have an error occuring on a page that only happens when I access the page through https. I need to configure https on my local machine for testing but am not sure how to go about it?

EDIT.

Using IIS. Sorry for no开发者_StackOverflow社区t including.


If you are using IIS then go here: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&DisplayLang=en and download the tookit.
In there you'll find a utility called SelfSSL. You can set up a certificate locally that'll get you through development. If I recall the command is:

selfssl /T /N: cn="your_computer_name"

I know the answer is a bit late but hopefully it'll help someone.

0

精彩评论

暂无评论...
验证码 换一张
取 消