HttpListener supports SSL only for localhost? Install Certificate

Source: Internet
Author: User

1.start-all Programs-

2.execute below lines on that ' Developer Command Prompt: ' Tool

Makecert-n "Cn=vmargeca"-R-SV vmargeca.pvk vmargeca.cer

Makecert-sk vmargesignedbyca-ivvmargeca.pvk-n "Cn=vmargesignedbyca"-ic VMARGECA.CERVMARGESIGNEDBYCA.CER-SR Localmachine-ss My

And you'll get three files (my path is C:\Program files (x86) \microsoftvisual Studio 11.0): Vmargeca.cer, VMARGECA.PV K, Vmargesignedbyca.cer

3.install Vmargeca.cer to the trusted in Localstorage Andvmargesignedbyca.cer to the personal





4.Cope The thumbprint value of the vmargesignedbyca.cer.






5.Execute the last command on that tool

netsh http add sslcert ipport=0.0.0.0:3000certhash= "41AF329311194416E90AC0C15FC2FE86D12F0C58" appid={ B46FD4EF-71D2-4472-8283-D0112119F28A}//note, was the port must consist withthe port using on Simulator, Certhas I s the thumbprint value from the Vmargesignedbyca.cer

Then you'll see a successful prompt.

Here's the article that I refered to http://www.codeproject.com/Questions/318868/ Httplistener-supports-ssl-only-for-localhost

HttpListener supports SSL only for localhost install certificate

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.