Sécurité des données
7.3 Clés et certificats
Exemple
Dans cet exemple, on importe un fichier au format PEM avec un certificat utilisateur
autosigné.
localhost# config
localhost(config)# system certificates local asymmetric-key my-
https-server
localhost(config-asymmetric-key-my-https-server)# load format
pem source tftp://192.168.2.68/privkey.pem certificate-name self-
signed-1
Transferring file... done
localhost(config-asymmetric-key-my-https-server)# show configuration
system
certificates
local
exit
exit
exit
localhost(config-asymmetric-key-my-https-server)# commit
Commit complete.
localhost(config-asymmetric-key-my-https-server)# end
localhost# show running-config system certificates local asymmetric-
key my-https-server
system
certificates
local
exit
exit
224
asymmetric-key my-https-server
public-key-format
public-key
private-key-format one-asymmetric-key-format
private-key
certificate self-signed-1
cert-data MIICYgYJKoZIhvcNAQcCoIICU...
exit
exit
asymmetric-key my-https-server
public-key-format
public-key
private-key-format one-asymmetric-key-format
private-key
certificate self-signed-1
cert-data MIICYgYJKoZIhvcNAQcCoIICU...
exit
exit
subject-public-key-info-format
MIIBIjANBgkqhk...
"$8$eUWJ/CSj9f...
subject-public-key-info-format
MIIBIjANBgkqhk...
"$8$eUWJ/CSj9f...
Manuel de configuration, 10/2023, C79000-G8977-C498-07
Command Line Interface (CLI) SINEC OS V2.4