stroke: add exportconn{cert,chain} commands in addition to exportx509

The new commands either export a single end entity certificate or the
full trust chain for a specific connection name.
This commit is contained in:
Martin Willi
2013-06-19 16:27:19 +02:00
parent a485320393
commit de2debf8e0
5 changed files with 80 additions and 7 deletions
+2
View File
@@ -55,6 +55,8 @@ typedef enum {
STROKE_PURGE_CERTS,
STROKE_PURGE_IKE,
STROKE_EXPORT_X509,
STROKE_EXPORT_CONN_CERT,
STROKE_EXPORT_CONN_CHAIN,
STROKE_LEASES,
STROKE_MEMUSAGE,
STROKE_USER_CREDS,