Skip to content
Permalink
Browse files
8282511: Use fixed certificate validation date in SSLExampleCert temp…
…late

Reviewed-by: rhalade
  • Loading branch information
XueleiFan committed Mar 3, 2022
1 parent c777bb3 commit 268fa693188b685de6289927ee5a1e99473a50f6
Showing 2 changed files with 216 additions and 181 deletions.
@@ -26,7 +26,8 @@
* @bug 8065422
* @summary Trailing dot in hostname causes TLS handshake to fail
* @library /javax/net/ssl/templates
* @run main/othervm -Djdk.net.hosts.file=hostsForExample EndingDotHostname
* @run main/othervm --add-opens java.base/sun.security.ssl=ALL-UNNAMED
* -Djdk.net.hosts.file=hostsForExample EndingDotHostname
*/

import javax.net.ssl.*;

1 comment on commit 268fa69

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 268fa69 Mar 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.