Skip to content

Conversation

@mkurz
Copy link
Collaborator

@mkurz mkurz commented Oct 21, 2025

https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/security/cert/X509Certificate.html#getSubjectDN()

Use getSubjectX500Principal() instead. This method returns the subject as an implementation specific Principal object, which should not be relied upon by portable code.

@mkurz mkurz merged commit f06fe8c into lightbend:main Oct 21, 2025
17 checks passed
@mkurz mkurz deleted the replace-deprecated-java-method branch October 21, 2025 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant