User Tools

Site Tools


informatique:extreme_networks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
informatique:extreme_networks [2026/05/04 08:02] – [SNMP] pteuinformatique:extreme_networks [2026/06/26 08:41] (current) – [SSL] pteu
Line 299: Line 299:
 # Lister les clés configurées sur le switch: # Lister les clés configurées sur le switch:
 show sshd2 user-key show sshd2 user-key
 +</code>
 +
 +
 +====Iimporter un certificat SSL====
 +
 +Pour mettre en place du rsyslog TLS ou un certificat pour l'accès HTTPS.
 +
 +Importer la CA au format PEM texte (le fichier doit commencer par la ligne "<nowiki>-----BEGIN CERTIFICATE-----</nowiki>" et être de taille > 2048 bits), depuis un serveur TFTP.
 +<code bash>
 +download ssl 10.0.0.1 certificate trusted-ca ca.pem
 +</code>
 +Celui-ci doit avoir les bons flags, notamment dans les extensions X509v3:
 +  * **Basic Constraints**: CA/ TRUE
 +  * **Subject key identifier**
 +  * **Authority key identifier**
 +  * **Key Usage**: Digital signature, Certificate Sign
 +
 +Importer le certificat du commutateur :
 +<code bash>
 +download ssl 10.0.0.1 certificate ssl-cert commutateur.pem
 +Warning:
 +SSL Certificate and Key do not match.
 +Please load new Key now.
 +New Certificate will be usable after restart of thttpd process..
 +!
 +download ssl 10.0.0.1 certificate privkey commutateur.key
 </code> </code>
  
informatique/extreme_networks.1777881726.txt.gz · Last modified: 2026/05/04 08:02 by pteu