[PR #38] [MERGED] support install into java cacerts file #368

Closed
opened 2026-02-25 22:33:17 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/FiloSottile/mkcert/pull/38
Author: @adamdecaf
Created: 7/6/2018
Status: Merged
Merged: 7/30/2018
Merged by: @FiloSottile

Base: masterHead: java


📝 Commits (4)

  • ec7b3db support install into java cacerts file
  • 4127728 java: add copyright header
  • 54078d4 Update main.go
  • 7207d65 Update truststore_java.go

📊 Changes

2 files changed (+129 additions, -0 deletions)

View changed files

📝 main.go (+22 -0)
truststore_java.go (+107 -0)

📄 Description

This works for me locally on a Mac with Java 8 and 9. I'm going to test out a bit on linux and newer Java versions.

$ ./bin/mkcert -install
Using the local CA at "/Users/adam/Library/Application Support/mkcert" ✨
The local CA is now installed in the system trust store! ⚡️
The local CA is now installed in the Firefox trust store (requires browser restart)! 🦊
The local CA is now installed in Java's trust store ☕️

$ keytool -list -keystore $JAVA_HOME/jre/lib/security/cacerts -storepass changeit | grep -i mkcert
mkcert development ca 215883752978067404179277978616948247614, Jul 6, 2018, trustedCertEntry, 

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/FiloSottile/mkcert/pull/38 **Author:** [@adamdecaf](https://github.com/adamdecaf) **Created:** 7/6/2018 **Status:** ✅ Merged **Merged:** 7/30/2018 **Merged by:** [@FiloSottile](https://github.com/FiloSottile) **Base:** `master` ← **Head:** `java` --- ### 📝 Commits (4) - [`ec7b3db`](https://github.com/FiloSottile/mkcert/commit/ec7b3db1ce96fb9a405d9d6de427d493acaaa744) support install into java cacerts file - [`4127728`](https://github.com/FiloSottile/mkcert/commit/412772820c7482c1b2eb2c5001e5abd5936bc575) java: add copyright header - [`54078d4`](https://github.com/FiloSottile/mkcert/commit/54078d4e5b0dfe38317fc11b0437b490c728ef0b) Update main.go - [`7207d65`](https://github.com/FiloSottile/mkcert/commit/7207d6504562ffa68766a2094ee6643026c46011) Update truststore_java.go ### 📊 Changes **2 files changed** (+129 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `main.go` (+22 -0) ➕ `truststore_java.go` (+107 -0) </details> ### 📄 Description This works for me locally on a Mac with Java 8 and 9. I'm going to test out a bit on linux and newer Java versions. ``` $ ./bin/mkcert -install Using the local CA at "/Users/adam/Library/Application Support/mkcert" ✨ The local CA is now installed in the system trust store! ⚡️ The local CA is now installed in the Firefox trust store (requires browser restart)! 🦊 The local CA is now installed in Java's trust store ☕️ $ keytool -list -keystore $JAVA_HOME/jre/lib/security/cacerts -storepass changeit | grep -i mkcert mkcert development ca 215883752978067404179277978616948247614, Jul 6, 2018, trustedCertEntry, ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 22:33:17 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mkcert#368
No description provided.