Télécharger Imprimer la page

Siemens SIMATIC NET SINEC OS V2.4 Manuel De Configuration page 225

Pour scalance xch-300, xcm-300, xrh-300 et xrm-300

Publicité

exit
Exemple
Dans cet exemple, on importe un fichier au format PKCS#12 avec un certificat CA autosigné.
Le certificat CA est enregistré dans le Truststore.
localhost# config
localhost(config)# system certificates local asymmetric-key my-
https-server
localhost(config-asymmetric-key-my-https-server)# load format
pkcs12 source tftp://192.168.2.68/client1.p12 certificate-name my-
end-entity bag-name my-trusted-cas bag-certificate-name my-ca-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
Command Line Interface (CLI) SINEC OS V2.4
Manuel de configuration, 10/2023, C79000-G8977-C498-07
asymmetric-key my-https-server
public-key-format
public-key
private-key-format one-asymmetric-key-format
private-key
certificate my-end-entity
cert-data MIIHFwYJKoZIhvcNAQcCo...
exit
exit
asymmetric-key my-https-server
public-key-format
public-key
private-key-format one-asymmetric-key-format
private-key
certificate my-end-entity
cert-data MIIHFwYJKoZIhvcNAQcCo...
exit
exit
subject-public-key-info-format
MIIBIjANBgkqhk...
"$8$eUWJ/CSj9f...
subject-public-key-info-format
MIIBIjANBgkqhk...
"$8$eUWJ/CSj9f...
Sécurité des données
7.3 Clés et certificats
225

Publicité

loading