Add generate-test-ca script

This commit is contained in:
Simon Kågedal Reimer 2019-05-30 15:01:04 +02:00
parent 173035f063
commit 05daa61692
2 changed files with 9 additions and 0 deletions

2
.gitignore vendored
View File

@ -2,3 +2,5 @@
/.build
/Packages
/*.xcodeproj
test-ca.crt
test-ca.key

7
generate-test-ca.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
# This can be useful for testing the install-ca command
openssl genrsa -out test-ca.key 4096
openssl req -x509 -new -nodes -key test-ca.key -sha256 -days 1024 -out test-ca.crt