mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
Corrected certificate generation instructions.
This commit is contained in:
@@ -528,7 +528,7 @@ certtool.
|
||||
$ certtool --generate-privkey --outfile server-key.pem
|
||||
$ cat << _EOF_ >server.tmpl
|
||||
cn = "www.example.com"
|
||||
o = "MyCompany"
|
||||
organization = "MyCompany"
|
||||
serial = 2
|
||||
expiration_days = 9999
|
||||
signing_key
|
||||
@@ -552,7 +552,7 @@ with the signing_key option and another with the encryption_key.
|
||||
$ certtool --generate-privkey --outfile server-key.pem
|
||||
$ cat << _EOF_ >server.tmpl
|
||||
cn = "www.example.com"
|
||||
o = "MyCompany"
|
||||
organization = "MyCompany"
|
||||
serial = 2
|
||||
expiration_days = 9999
|
||||
signing_key
|
||||
@@ -574,7 +574,7 @@ certificate as it is sent in clear during TLS authentication.
|
||||
$ certtool --generate-privkey --outfile user-key.pem
|
||||
$ cat << _EOF_ >user.tmpl
|
||||
cn = "user"
|
||||
ou = "admins"
|
||||
unit = "admins"
|
||||
serial = 1824
|
||||
expiration_days = 9999
|
||||
signing_key
|
||||
|
||||
Reference in New Issue
Block a user