Skip to content

Instantly share code, notes, and snippets.

@jensmeder
jensmeder / ssl_handshake_failed.sh
Created May 25, 2021 15:15
SSL Handshake failed
Exception in thread "main" javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException:
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target
@jensmeder
jensmeder / keytool_list_certificates.sh
Created May 25, 2021 11:00
List all certificates in JVM truststore on macOS
keytool -list -v -keystore /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/jre/lib/security/cacerts
@jensmeder
jensmeder / change_password.sh
Created May 25, 2021 10:18
Change password for trust store
keytool -storepasswd -keystore mytruststore
@jensmeder
jensmeder / application.properties
Last active May 25, 2021 10:18
Self-Managed JVM Truststore
javax.net.ssl.trustStore=mytruststore
javax.net.ssl.trustStorePassword=verysafepassword
FROM ubuntu:18.04
# Install wget
RUN apt-get update
RUN apt-get install -y wget
# Add 32-bit architecture
RUN dpkg --add-architecture i386
RUN apt-get update
FROM ubuntu:18.04
# Install Xvfb
RUN apt-get update
RUN apt-get install -y xvfb
FROM ubuntu:18.04
# Install wget
RUN apt-get update
RUN apt-get install -y wget
# Add 32-bit architecture
RUN dpkg --add-architecture i386
RUN apt-get update
FROM ubuntu:18.04
# Install wget
RUN apt-get update
RUN apt-get install -y wget
# Add 32-bit architecture
RUN dpkg --add-architecture i386
RUN apt-get update
FROM ubuntu:18.04
# Install wget
RUN apt-get update
RUN apt-get install -y wget
# Add 32-bit architecture
RUN dpkg --add-architecture i386
RUN apt-get update
FROM ubuntu:18.04
# Install wget
RUN apt-get update
RUN apt-get install -y wget
# Install winetricks
RUN apt-get install -y cabextract
RUN wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
RUN chmod +x winetricks