<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/jdk-27-security-enhancements-byjqvojcg" -->

---
title: JDK 27 Security Enhancements | daily.dev
description: JDK 27, released September 15, 2026, ships a set of security enhancements grouped into crypto, PKI, TLS, and tooling categories. Highlights include JEP 527...
canonical: https://daily.dev/posts/jdk-27-security-enhancements-byjqvojcg
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: JDK 27 Security Enhancements | daily.dev
og:description: JDK 27, released September 15, 2026, ships a set of security enhancements grouped into crypto, PKI, TLS, and tooling categories. Highlights include JEP 527...
og:url: https://daily.dev/posts/jdk-27-security-enhancements-byjqvojcg
og:image: https://api.daily.dev/og/posts/BYJQVoJCg.png
og:image:alt: JDK 27 Security Enhancements
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# JDK 27 Security Enhancements

**[Inside Java](https://daily.dev/sources/inside_java)** · 7 min read · 0 upvotes · 0 comments

## Summary

JDK 27, released September 15, 2026, ships a set of security enhancements grouped into crypto, PKI, TLS, and tooling categories. Highlights include JEP 527 adding TLS 1.3 post-quantum hybrid key exchange (X25519MLKEM768 enabled by default), and a third preview of JEP 538's PEM API which renames the DEREncodable interface to BinaryEncodable. Other changes include additional HSS/LMS signature parameter sets from RFC 9858, new KeyStore methods returning alias creation dates as Instant objects, performance improvements to SHA-3, ML-KEM, ML-DSA, and elliptic curve algorithms, new WISeKey root CA certificates, ZLIB TLS certificate compression enabled by default, removal of ffdhe6144/ffdhe8192 from default TLS named groups, distrust of Chunghwa TLS server certificates issued after March 17, 2026, and a new security property allowing passwords to be read from stdin.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://inside.java/2026/09/16/jdk27-security-enhancements>

## Questions this post answers

### Does JDK 27 support post-quantum key exchange for TLS 1.3?

Yes, JDK 27 adds post-quantum hybrid key exchange for TLS 1.3 under JEP 527, combining ML-KEM with classical elliptic-curve algorithms. Three hybrid groups defined in RFC 10024 are supported: X25519MLKEM768, SecP256r1MLKEM768, and SecP384r1MLKEM1024. X25519MLKEM768 is enabled by default with no configuration required, protecting against harvest-now-decrypt-later attacks.

_Teams planning post-quantum TLS rollouts can track JDK version changes like this on daily.dev._

### What happened to the DEREncodable interface in the JDK 27 PEM API preview?

The DEREncodable interface was renamed to BinaryEncodable in the third preview of JEP 538's PEM API in JDK 27, to better reflect that it isn't restricted to DER encodings. Existing classes such as X509Certificate and X509CRL were retrofitted to implement BinaryEncodable, making it easier to encode and decode these objects to and from PEM format.

_Developers migrating preview PEM API code can follow JDK release changes like this on daily.dev._

### When will the JDK stop trusting Chunghwa TLS server certificates?

JDK 27 no longer trusts TLS server certificates issued by Chunghwa. Certificates issued before March 17, 2026 continue to be trusted until they expire or a later cutoff date, while certificates issued after that date are rejected outright. The same distrust change was also applied to Oracle's JDK 25.0.3, 21.0.11, 17.0.19, 11.0.31, and 8u491 releases.

_Ops teams checking certificate trust changes before an upgrade can watch for updates like this on daily.dev._

## Similar posts on daily.dev

- [JDK 24 Security Enhancements](https://daily.dev/posts/jdk-24-security-enhancements-tln02dr7b) · Baeldung · 0 upvotes · 0 comments
- [Java 27 gets its first feature](https://daily.dev/posts/java-27-gets-its-first-feature-fybiawlum) · InfoWorld · 0 upvotes · 0 comments
- [JDK 27: Post-Quantum Hybrid Key Exchange for TLS 1.3 – Inside.java](https://daily.dev/posts/jdk-27-post-quantum-hybrid-key-exchange-for-tls-1-3-inside-java-hpck7lprw) · Inside Java · 2 upvotes · 0 comments
- [JEP targeted to JDK 27: 527: Post-Quantum Hybrid Key Exchange for TLS 1.3 – Inside.java](https://daily.dev/posts/jep-targeted-to-jdk-27-527-post-quantum-hybrid-key-exchange-for-tls-1-3-inside-java-mrsorr3ii) · Inside Java · 0 upvotes · 0 comments

---

Tags: [#java](https://daily.dev/tags/java), [#quantum-computing](https://daily.dev/tags/quantum-computing), [#cryptography](https://daily.dev/tags/cryptography), [#jdk](https://daily.dev/tags/jdk)

[View this post on daily.dev](https://daily.dev/posts/jdk-27-security-enhancements-byjqvojcg)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"JDK 27 Security Enhancements","url":"https://daily.dev/posts/jdk-27-security-enhancements-byjqvojcg","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/jdk-27-security-enhancements-byjqvojcg"},"datePublished":"2026-09-16T07:31:40.883Z","dateModified":"2026-09-17T01:07:30.874Z","description":"JDK 27, released September 15, 2026, ships a set of security enhancements grouped into crypto, PKI, TLS, and tooling categories. Highlights include JEP 527...","image":"https://media.daily.dev/image/upload/s--CxzD6vbw--/f_auto/v1722860399/public/Placeholder%2005","thumbnailUrl":"https://media.daily.dev/image/upload/s--CxzD6vbw--/f_auto/v1722860399/public/Placeholder%2005","isAccessibleForFree":true,"articleSection":"Inside Java","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Inside Java","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/de5992d95f374790bdfd2ae03a16f6e3","url":"https://daily.dev/sources/inside_java"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/jdk-27-security-enhancements-byjqvojcg","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"java,quantum-computing,cryptography,jdk","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Inside Java","item":"https://daily.dev/sources/inside_java"},{"@type":"ListItem","position":3,"name":"JDK 27 Security Enhancements"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/jdk-27-security-enhancements-byjqvojcg#faq","mainEntity":[{"@type":"Question","name":"Does JDK 27 support post-quantum key exchange for TLS 1.3?","acceptedAnswer":{"@type":"Answer","text":"Yes, JDK 27 adds post-quantum hybrid key exchange for TLS 1.3 under JEP 527, combining ML-KEM with classical elliptic-curve algorithms. Three hybrid groups defined in RFC 10024 are supported: X25519MLKEM768, SecP256r1MLKEM768, and SecP384r1MLKEM1024. X25519MLKEM768 is enabled by default with no configuration required, protecting against harvest-now-decrypt-later attacks. Teams planning post-quantum TLS rollouts can track JDK version changes like this on daily.dev."}},{"@type":"Question","name":"What happened to the DEREncodable interface in the JDK 27 PEM API preview?","acceptedAnswer":{"@type":"Answer","text":"The DEREncodable interface was renamed to BinaryEncodable in the third preview of JEP 538's PEM API in JDK 27, to better reflect that it isn't restricted to DER encodings. Existing classes such as X509Certificate and X509CRL were retrofitted to implement BinaryEncodable, making it easier to encode and decode these objects to and from PEM format. Developers migrating preview PEM API code can follow JDK release changes like this on daily.dev."}},{"@type":"Question","name":"When will the JDK stop trusting Chunghwa TLS server certificates?","acceptedAnswer":{"@type":"Answer","text":"JDK 27 no longer trusts TLS server certificates issued by Chunghwa. Certificates issued before March 17, 2026 continue to be trusted until they expire or a later cutoff date, while certificates issued after that date are rejected outright. The same distrust change was also applied to Oracle's JDK 25.0.3, 21.0.11, 17.0.19, 11.0.31, and 8u491 releases. Ops teams checking certificate trust changes before an upgrade can watch for updates like this on daily.dev."}}]}
```

