The following debugging information was generated by Atom Beautify
on Thu Apr 16 2020 13:21:00 GMT-0500 (Colombia Standard Time)
.
This file contains 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
from pprint import pprint | |
from time import sleep | |
import daiquiri | |
from genie.testbed import load | |
from genie.utils.diff import Diff | |
from pyats.datastructures import ListDict | |
from devicemanagement import utils |
This file contains 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
#!/usr/bin/env bash | |
## To use this script, copy it to your ~/bin directory and then run it by executing: | |
## fix_catalina_cert.sh 10.201.146.172 443 | |
## You will be asked to authenticate when storing in keychain | |
echo | openssl s_client -showcerts -servername ${1} -connect ${1}:${2} 2>/dev/null | openssl x509 -inform pem -out /tmp/untrusted.cer | |
security add-trusted-cert -k ~/Library/Keychains/login.keychain-db /tmp/untrusted.cer |