Skip to content

JetBrains/jvm-native-trusted-roots

Repository files navigation

JetBrains team project GitHub Actions CI Space

jvm-native-trusted-roots

Platform-Native Trusted Certificates Handling

Retrieves trusted certificates from the operating system using platform-specific APIs

Usage

  • add maven repository intellij-dependencies
  • reference package org.jetbrains.nativecerts:jvm-native-trusted-roots:VERSION, set VERSION to the value displayed in this README's badge.
  • call org.jetbrains.nativecerts.NativeTrustedCertificates.getCustomOsSpecificTrustedCertificates

See javadoc at NativeTrustedCertificates.java

On-site diagnostics

If something goes wrong on user's machine, it's possible to gather all debug logging running a special CLI utility:

Testing

Some tests on Windows/Mac require a user to confirm modification of the trust store, so please run tests locally with system property manual.test set to true:

mvn package -Dmanual.test=true

Releasing a new version (JetBrains internal only)

Run job at Publish jvm-native-trusted-roots @ Space

About

Platform-Native Trusted Certificates Handling

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published