Skip to content

jramirez-isc/simple-https-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

simple-https-java

This example requires GraalVM with Java 11.

Steps to reproduce:

  1. javac SimpleHTTPSServer.java
  2. javac Https11SimpleClient.java
  3. native-image --no-fallback --enable-all-security-services Https11SimpleClient
  4. java SimpleHTTPSServer

Then in another console:

-> This request is expected to be successful.

  1. java -Djavax.net.ssl.trustStore=testkey.jks -Djavax.net.ssl.trustStorePassword=password Https11SimpleClient

-> Testing the native image fails.

  1. ./https11simpleclient -Djavax.net.ssl.trustStore=testkey.jks -Djavax.net.ssl.trustStorePassword=password

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages