Skip to content

Commit

Permalink
sh
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Jul 28, 2023
1 parent bfdfd30 commit dbc4db7
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
4 changes: 4 additions & 0 deletions genm.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh

openssl cmp -cmd genm -server 127.0.0.1:1829 \
-recipient "/CN=CMPserver" -ref 1234 -secret pass:0000
5 changes: 5 additions & 0 deletions ir.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

openssl cmp -cmd ir -server 127.0.0.1:1829 \
-path priv/certs -srvcert ca.pem -ref NewUser \
-secret pass:0000 -certout x.pem -newkey maxim.key.enc -subject "/CN=maxim/O=SYNRC/ST=Kyiv/C=UA"
8 changes: 8 additions & 0 deletions maxim.key.enc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-----BEGIN ENCRYPTED PRIVATE KEY-----
MIIBEzBOBgkqhkiG9w0BBQ0wQTApBgkqhkiG9w0BBQwwHAQILwRsN+KFVfcCAggA
MAwGCCqGSIb3DQIJBQAwFAYIKoZIhvcNAwcECGwZ+9pXj1SmBIHAmwe8Zmq2UL4P
1ubMZMZ+VBGLX/CmHSNp27gTW9f8AuT9cjwn9piIc3ZOfkPmiNVQQ9geknqsYU6A
HxiIpN4xR7VXroij7wuJnph/PjnDU+dnH98qw3uZYbPPzyjkhd7Z5bsPusjdz91q
AvkqetA6mVo54EfxICiX1740iYg4fy+dJ09mGBjqmwvoebW60CcnCn/jCIDgadTu
yJRXySowrNpVuNAu1hVAByJkmORt23/HSsPwgStverPZKY3bDGsR
-----END ENCRYPTED PRIVATE KEY-----
7 changes: 7 additions & 0 deletions p10cr.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

export client=maxim

openssl cmp -cmd p10cr -server localhost:1829 \
-path . -srvcert ca.pem -ref cmptestp10cr \
-secret pass:0000 -certout $client.pem -csr $client.csr

0 comments on commit dbc4db7

Please sign in to comment.