Skip to content

Commit

Permalink
Update 2024-03-15-java-https-check.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dougbreaux committed Mar 15, 2024
1 parent e7c3243 commit 45fc9e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _posts/2024-03-15-java-https-check.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ tags:
- security
- tls
title: Check HTTP(S) Connectivity in Java
published: false
---
Trivial Java code to try an HTTP connection to a URL. In particular, this can be useful to see whether your Java environment and its SSL/TLS configuration will successfully connect to an https URL.

Expand All @@ -21,4 +22,4 @@ java -Djavax.net.ssl.trustStore=/config/trust.jks -Djavax.net.ssl.keyStorePasswo

JSP you can deploy or create in your Java server environment:

See [HttpTest.jsp](https://github.com/dougbreaux/Java-Web-Tools/blob/master/WebContent/HttpTest.jsp)
See [HttpTest.jsp](https://github.com/dougbreaux/Java-Web-Tools/blob/master/WebContent/HttpTest.jsp)

0 comments on commit 45fc9e4

Please sign in to comment.