readme content
This commit is contained in:
17
README.md
17
README.md
@@ -18,6 +18,8 @@ step ca init --ssh --acme
|
|||||||
|
|
||||||
## SSH Certificates
|
## SSH Certificates
|
||||||
|
|
||||||
|
### Server
|
||||||
|
|
||||||
Use step-ca to sign an existing public key to produce a signed certificate with some principals on it.
|
Use step-ca to sign an existing public key to produce a signed certificate with some principals on it.
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -41,4 +43,17 @@ TrustedUserCAKeys /etc/ssh/ssh_user_ca.pub
|
|||||||
HostKey /etc/ssh/ssh_host_ed25519_key
|
HostKey /etc/ssh/ssh_host_ed25519_key
|
||||||
HostCertificate /etc/ssh/ssh_host_ed25519_key-cert.pub
|
HostCertificate /etc/ssh/ssh_host_ed25519_key-cert.pub
|
||||||
EOF
|
EOF
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
systemctl reload sshd
|
||||||
|
```
|
||||||
|
|
||||||
|
### Client
|
||||||
|
|
||||||
|
```
|
||||||
|
step ssh certificate --sign \
|
||||||
|
--principal root --principal john \
|
||||||
|
--provisioner admin \
|
||||||
|
john@john-pc-ubuntu ~/.ssh/id_ed25519.pub
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user