-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,10 +24,16 @@ step certificate create [email protected] client.pem client-key.pem --template g | |
--ca opnsense-ca.pem --ca-key opnsense-ca-key.pem --no-password --insecure --force --bundle \ | ||
--set-file dn-defaults.json --san home.richtman.au | ||
step certificate create poco-f4-gt client.pem client-key.pem --template granular-dn-leaf.tpl --not-after 1461h \ | ||
--ca opnsense-ca.pem --ca-key opnsense-ca-key.pem --no-password --insecure --force --bundle \ | ||
--set-file dn-defaults.json --ca root-ca.pem | ||
step certificate inspect client.pem | ||
# Package for Android | ||
# Android insists on password and won't even try any other extensions. | ||
step certificate p12 client.p12 client.pem client-key.pem --ca opnsense-ca.pem | ||
# Or | ||
openssl pkcs12 -export -out client.p12 -in client.pem -inkey client-key.pem | ||
mv client.p12 ~/Downloads | ||
``` |