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
# import certificates | |
sudo keytool -import -alias cef.addtrustexternalcaroot -keystore "/usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts" -file "/home/otavio/certificados/AddTrustExternalCARoot" -storepass changeit | |
sudo keytool -import -alias cef.comodorsacertificationauthority -keystore "/usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts" -file "/home/otavio/certificados/COMODORSACertificationAuthority" -storepass changeit | |
sudo keytool -import -alias cef.comodorsaorganization -keystore "/usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts" -file "/home/otavio/certificados/COMODORSAOrganizationValidationSecureServerCA" -storepass changeit | |
# list imported certificates | |
sudo keytool -list -keystore "/usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts" -storepass changeit | grep cef |
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
sudo apt-get install xdotool | |
# check java version on firefox | |
xdotool search --name "Verify Java Version" windowactivate --sync mousemove --window %1 500 350 click 1 | |
# click on run button of java security warning | |
xdotool search --name "Security Information" windowactivate --sync mousemove --window %1 410 290 click 1 | |
# SCREENSHOT, needs imagemagick | |
import -window root screenshot.png |
NewerOlder