Added manual certificate creation examples.
This commit is contained in:
1 parent
9c84e82672
commit
d0d3c760a3
3 files changed
+132
-15
No files matched your search
@@ -262,19 +262,6 @@ python3 generate-mobileconfig.py \
|
||||
--output alice-vpn.mobileconfig
|
||||
```
|
||||
|
||||
---
|
||||
## Example commands
|
||||
|
||||
## Self-signed certificate
|
||||
|
||||
The following command creates a full-featured self-signed certificate usable as a CA and for client/server authentication:
|
||||
|
||||
```bash
|
||||
openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
|
||||
-keyout "key.pem" \
|
||||
-out "cert.pem" \
|
||||
-subj "/CN=<user name>/O=<user organization>/C=<CC>" \
|
||||
-addext "basicConstraints=critical,CA:TRUE" \
|
||||
-addext "keyUsage=critical,digitalSignature,keyEncipherment,keyCertSign,cRLSign" \
|
||||
-addext "extendedKeyUsage=serverAuth,clientAuth" \
|
||||
-addext "subjectAltName=DNS:<computer_name>"
|
||||
```
|
||||
Sometimes it is necessary to use customized scripts for a specific environment. Look at ready to customize and use examples in `make_certs.sh`. `show_certs.sh` displays essential certifcate information for all PEM files in the current working directory.
|
||||
Reference in new issue
Block a user