Last active
May 1, 2021 02:28
-
-
Save mathershifter/f537a46e220a5f194e2bccf3f0d61a70 to your computer and use it in GitHub Desktop.
gnmi-self-signed-cert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! **Make sure to change the common-name to match your environment** | |
security pki certificate generate self-signed switch.crt key switch.key generate rsa 2048 validity 30000 parameters common-name myswitch.lab.lan | |
! | |
configure | |
! | |
management security | |
ssl profile SELFSIGNED | |
certificate switch.crt key switch.key | |
! | |
management api gnmi | |
transport grpc default | |
ssl profile SELFSIGNED |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment