本文介绍了如何跨更新保留Mac上的CAcerts密钥库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Mac OS X在/System/Library/Frameworks/JavaVM.framework/Home/lib/security/cacerts中有CA密钥库。这个密钥库似乎被每个Java更新覆盖,这非常烦人,因为我们有开发环境的内部CA,测试...

Mac OS X has the CA keystore in /System/Library/Frameworks/JavaVM.framework/Home/lib/security/cacerts. This keystore seems to be overwritten by every Java update, which is very annoying since we have internal CAs for development environments, testing…

有没有办法保持密钥库的变化Apple JSRs,现在还有Snow Leo JSR3,还可以跨越单独的Java开发人员包(其JDK使用相同的密钥库)的更新?

Is there a way to preserve keystore changes across Apple JSRs, and now, with Snow Leo JSR3, also across updates for the separate Java developer packages (whose JDKs use the same keystore)?

推荐答案

[这是过时的信息 - 请参阅下面的答案10.6+]

[ This is outdated info - see the answer below for 10.6+ ]

/System/Library/Frameworks/JavaVM.framework/ Home / 是JavaVM.framework中 Versions / CurrentJDK / Home 的符号链接。显然,这将随着新版本而改变。使用完整路径(例如 /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home ),它不会在更新中发生变化。

/System/Library/Frameworks/JavaVM.framework/Home/ is a symlink to Versions/CurrentJDK/Home within JavaVM.framework. Obviously this will change with a new Version. Use the full path (e.g. /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home) and it won't change across updates.

这篇关于如何跨更新保留Mac上的CAcerts密钥库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-22 02:38