Add generate-test-ca script
This commit is contained in:
parent
173035f063
commit
05daa61692
|
@ -2,3 +2,5 @@
|
||||||
/.build
|
/.build
|
||||||
/Packages
|
/Packages
|
||||||
/*.xcodeproj
|
/*.xcodeproj
|
||||||
|
test-ca.crt
|
||||||
|
test-ca.key
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue