Merged the hostap_2.6 updates, and the Leap of Faith work, from the hostap_update...
[mech_eap.git] / libeap / hs20 / server / ca / ocsp-update-cache.sh
diff --git a/libeap/hs20/server/ca/ocsp-update-cache.sh b/libeap/hs20/server/ca/ocsp-update-cache.sh
new file mode 100755 (executable)
index 0000000..8ddef9b
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+openssl ocsp \
+       -no_nonce \
+       -CAfile ca.pem \
+       -verify_other demoCA/cacert.pem \
+       -issuer demoCA/cacert.pem \
+       -cert server.pem \
+       -url http://localhost:8888/ \
+       -respout ocsp-server-cache.der