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