Skip to content

Commit

Permalink
create rnd file first
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed Mar 2, 2024
1 parent dd388d8 commit 86dee96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/certs/rootA.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/sh
openssl rand -out ./.rnd -hex 256

openssl req -writerand -newkey rsa:1024 -sha1 -keyout rootAkey.pem -out rootAreq.pem -nodes -config ./rootA.cnf -days 365 -batch
openssl req -newkey rsa:1024 -sha1 -keyout rootAkey.pem -out rootAreq.pem -nodes -config ./rootA.cnf -days 365 -batch

openssl x509 -req -in rootAreq.pem -sha1 -extfile ./rootA.cnf -extensions v3_ca -signkey rootAkey.pem -out rootA.pem -days 365

Expand Down

0 comments on commit 86dee96

Please sign in to comment.