File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Release/tests/Functional/http/listener Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -235,8 +235,17 @@ TEST_FIXTURE(uri_address, uri_encoding)
235
235
client.request (methods::GET, encoded_uri).wait ();
236
236
}
237
237
238
- TEST_FIXTURE (uri_address, https_listener)
238
+ TEST_FIXTURE (uri_address, https_listener, " Ignore " , " Manual " )
239
239
{
240
+ // Requires a certificate for execution.
241
+ // Here are instructions for creating a self signed cert. Full instructions can be located here:
242
+ // http://blogs.msdn.com/b/haoxu/archive/2009/04/30/one-time-set-up-for-wwsapi-security-examples.aspx
243
+ // From an elevated admin prompt:
244
+ // 1. MakeCert.exe -ss Root -sr LocalMachine -n "CN=Fake-Test-CA" -cy authority -r -sk "CAKeyContainer"
245
+ // 2. MakeCert.exe -ss My -sr LocalMachine -n "CN=localhost" -sky exchange -is Root -ir LocalMachine -in Fake-Test-CA -sk "ServerKeyContainer"
246
+ // 3. Find corresponding SHA-1 hash with CertUtil.exe -store My localhost
247
+ // 4. Netsh.exe http add sslcert ipport=0.0.0.0:8443 appid={00112233-4455-6677-8899-AABBCCDDEEFF} certhash=<40CharacterThumbprintWithNoSpaces>
248
+
240
249
http_listener listener (m_secure_uri);
241
250
listener.open ().wait ();
242
251
client::http_client client (m_secure_uri);
You can’t perform that action at this time.
0 commit comments