Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1232)

Unified Diff: net/data/ssl/scripts/client_authentication/run-test-server.sh

Issue 12035105: Move client certificates retrieval logic out of the SSL sockets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Linux Redux build Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/data/ssl/scripts/client_authentication/run-test-server.sh
diff --git a/net/data/ssl/scripts/client_authentication/run-test-server.sh b/net/data/ssl/scripts/client_authentication/run-test-server.sh
new file mode 100755
index 0000000000000000000000000000000000000000..adac3a5eba43849b66f1ae9fe66115c69697572b
--- /dev/null
+++ b/net/data/ssl/scripts/client_authentication/run-test-server.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+# Helper script for local manual testing. Runs an openssl test server at
+# localhost:4433. The server will be accessible for www connections and will
+# require a client certificate issued by Client Auth Test Root 1.
+openssl s_server \
+ -accept 4433 \
+ -cert out/root_1.pem \
+ -key out/root_1.key \
+ -www \
+ -Verify 5 \
+ -CAfile out/root_1.pem
Ryan Sleevi 2013/01/29 19:59:49 For checking in, this should be a 'real' test usin
ppi 2013/01/30 15:34:56 This is just a tiny helper that I thought could be

Powered by Google App Engine
This is Rietveld 408576698