开发者

what are the detailed steps to setup test asp.net site using free SSL certificate in IIS6?

Please provide detailed steps to setup IIS6 could not found good information by googling... Is ther开发者_运维技巧e free SSL certificates that can be used only to test locally?


  1. Download the IIS 6 resource kit. Install at least the SelfSSL utility.
  2. Open a command prompt; go to C:\Program Files\IIS Resources\SelfSSL and

    selfssl /T /N:CN=localhost /V:365
    

    This will generate a self-signed certificate for https://localhost/ and offer to install it for you in each web site on your system. This will also add it to your trusted certificate store so that IE will automatically accept the certificate. The /V option is the number of days the certificate will be valid for, i.e. roughly a year.

    If you want to use https://your-machine-name/ instead of localhost then just change or omit the /N: option. If not the first you can specify which specific site using /S:. And there are other options avialable to configure the key generation if you need them.

Normally when you install an SSL certificate in IIS you'd also need to iisreset before it'll work but SelfSSL takes care of this too.


I am now using IISExpress to test SSL which is super easy.... steps to setup : * just run web platform installer * configure to run in iis6 compatibily mode but its not true IIS 6 :)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜