Télécharger Imprimer la page

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

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

Publicité

Sécurité des données
7.3 Clés et certificats
Opé‐
ration
5
6
7
8
9
Exemple
localhost# config
localhost(config)# system certificates local asymmetric-key my-
https-server
localhost(config-asymmetric-key-my-https-server)# public-key-format
subject-public-key-info-format
localhost(config-asymmetric-key-my-https-server)# public-key
(<base64Binary, min: 1 octets, max: 2048 octets>):
MIIBIjANBgkqhkiG9...
localhost(config-asymmetric-key-my-https-server)# private-key-
format one-asymmetric-key-format
localhost(config-asymmetric-key-my-https-server)# private-key
(<AES encrypted string, min: 1 units, max: 8192 units>):
***************...
localhost(config-asymmetric-key-my-https-server)# commit
220
Instruction
Définissez le format de la clé publique.
Options disponibles :
ec-private-key-format - La clé pri‐
vée doit être disponible dans la syntaxe dé‐
finie dans la RFC ci-après :
RFC 5915 Elliptic Curve Private Key Struc‐
ture (https://tools.ietf.org/html/rfc5915)
one-asymmetric-key-format - La clé
privée doit être disponible dans la syntaxe
définie dans la RFC ci-après :
RFC 5958 Asymmetric Key Packages
(https://tools.ietf.org/html/rfc5958)
rsa-private-key-format - La clé pri‐
vée doit être disponible dans la syntaxe dé‐
finie dans la RFC ci-après :
RFC 3447 Public-Key Cryptography Stan‐
dards (PKCS) #1
(https://tools.ietf.org/html/
rfc3447)
Entrez la clé publique cryptée (format DER co‐
dé Base64).
Le format dépend de la configuration du para‐
mètre private-key-format.
Condition :
Il doit compter de 1 à 8192 octets
Pour saisir la clé de manière protégée, pressez
après private-key la touche Entrée. Vous
passez ainsi en mode Assistants.
Validez les modifications.
Quittez le mode de configuration.
Contrôlez la configuration.
Commande
private-key-format [ ec-private-
key-format | one-asymmetric-key-
format | rsa-private-key-format ]
private-key { Clé privée }
commit
end
show running-config system
certificates local asymmetric-
key { Nom }
Command Line Interface (CLI) SINEC OS V2.4
Manuel de configuration, 10/2023, C79000-G8977-C498-07

Publicité

loading