/jvm-native-trusted-roots

Platform-Native Trusted Certificates Handling

Primary LanguageJavaApache License 2.0Apache-2.0

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

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