HttpListener supports SSL only for localhost? install certificate

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 -iv
vMargeCA.pvk -n "CN=vMargeSignedByCA" -ic vMargeCA.cer
vMargeSignedByCA.cer -sr localmachine -ss My

and you will get three files (my path is C:\Program Files (x86)\Microsoft
Visual Studio 11.0) :  vMargeCA.cer,  vMargeCA.pvk,  vMargeSignedByCA.cer

3.install vMargeCA.cer to the trusted in localstorage  and
vMargeSignedByCA.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:3000
certhash="41af329311194416e90ac0c15fc2fe86d12f0c58" appid={b46fd4ef-71d2-4472-8283-d0112119f28a}     //Note, 3000 is the port must consist with
the port using on Simulator, certhas is the Thumbprint value from the vMargeSignedByCA.cer

Then you will see a successful prompt.

Here is the article that I refered to http://www.codeproject.com/Questions/318868/HttpListener-supports-SSL-only-for-localhost

时间: 2024-12-28 11:58:40

HttpListener supports SSL only for localhost? install certificate的相关文章

How To Set Up Apache with a Free Signed SSL Certificate on a VPS

Prerequisites Before we get started, here are the web tools you need for this tutorial: Google Chrome browser Apache installed on your VPS (cloud server) A domain name you own Access to an email address at that domain, either: [email protected] [emai

Apache + SSL搭建Linux证书服务器

HTTPS是一个安全的访问方式,数据在传输过程中是加密的,HTTPS基于SSL加密. 一:安装apache模块和ssl模块. yum install httpd httpd-devel mod_ssl 安装完成mod_ssl后会创建一个默认ssl证书,存放路径为/etc/pki/tls SSL的配置文件存放在HTTP配置目录下的conf.d/ssl.conf 二:使用openssl手动创建证书 yum install openssl openssl-devel cd /etc/pki/tls 1

Apache + SSL 搭建Https

阅读目录 简单介绍 环境介绍 环境安装 创建CA 签发服务端证书 配置文件编辑 测试单项认证 参考资料 笔者最近在研究Https,在半年前发现做的HTTPS都是错误的,总以为能实现访问就成功了,但是并不是这样!在网上搜索了很多资料发现讲得全面的并不多,所以笔者将配置的全过程都完整的记录下来,以提供参考 简单介绍 一般情况下,我们打开网站默认的是使用明文传输方式,但在日常生活中,当我们在登录或者支付交易时,网站就会自动跳转至SSL(Secure Sockets Layes)加密传输模式,SSL的功

[转]Open vSwitch with SSL and Mininet

Open vSwitch with SSL and Mininet By default, Mininet uses the unencrypted port in Open vSwitch for OpenFlow. This makes total sense since the purpose of Mininet is a research tool, so encryption isn't usually needed and using unencrypted control tra

Open vSwitch with SSL and Mininet

Open vSwitch with SSL and Mininet By default, Mininet uses the unencrypted port in Open vSwitch for OpenFlow. This makes total sense since the purpose of Mininet is a research tool, so encryption isn't usually needed and using unencrypted control tra

Nginx负载均衡、ssl原理、生成ssl密钥对、Nginx配置ssl

Nginx负载均衡 Nginx负载均衡即为当代理服务器将自定义的域名解析到多个指定IP时,通过upstream来保证用户可以通过代理服务器正常访问各个IP. 代理一台机器叫做代理,代理两台及两台服务器就能叫做负载均衡. 负载均衡配置 创建一个配置文件/usr/local/nginx/conf/vhost/load.con [[email protected] ~]# vim /usr/local/nginx/conf/vhost/load.conf upstream qq.com #借助upst

SSL vs TLS vs STARTTLS (转)

There's often quite a bit of confusion around the different terms SSL, TLS and STARTTLS. SSL and TLS both provide a way to encrypt a communication channel between two computers (e.g. your computer and our server). TLS is the successor to SSL and the

如何用WizFi210连接带认证的SSL服务器

网络数据传输,需要保证数据的完整性.保密性,以及能够对数据的发送者进行身份验证.由此SSL(Secure Socket Layer,安全套接层)协议的出现,为数据加密等问题提供了保证.那么在使用WIZnet网络产品中,如何连接带认证的SSL服务器,实现数据加密传输呢?本篇文章为你提供答案. 通常,连接<most SSL server>,你不需要<Client Certificate>(客户端认证),以及<A few SSL server>请求<a Client C

SSL Optimization

Part 1: Overview of SSL SSL provides a way for client and server applications to communicate securely over a potentially insecure network. It provides authentication, and prevents eavesdropping and tampering. In the most common use case, you can SSL