小编Esl*_*lam的帖子

如何进入非密码保护的Java密钥库或更改密码?

我正在尝试将受信任的证书导入Java cacerts密钥库,但我遇到了问题.我试图列出现有的可信证书,似乎密钥库没有密码保护.

$ keytool -list -keystore cacerts
Enter keystore password:

*****************  WARNING WARNING WARNING  *****************
* The integrity of the information stored in your keystore  *
* has NOT been verified!  In order to verify its integrity, *
* you must provide your keystore password.                  *
*****************  WARNING WARNING WARNING  *****************

Keystore type: JKS
Keystore provider: SUN

Your keystore contains 76 entries
Run Code Online (Sandbox Code Playgroud)

我试图导入一个可信证书:

$ keytool -importcert -alias "JiraCert" -file /root/c9ssl.crt -keystore /etc/java-6-sun/security/cacerts
Enter keystore password:  
Keystore password is …
Run Code Online (Sandbox Code Playgroud)

java keystore keytool atlassian-fisheye

117
推荐指数
3
解决办法
15万
查看次数

nginx别名语法

我正在尝试使用以下语法为网站中的某些图片的位置添加别名:

location ~/^apple-touch-icon(.*)\.png$ {
 alias /opt/web_alpha/img/$1;
 } 
Run Code Online (Sandbox Code Playgroud)

是的,或者我在nginx的access.log中输入了其他东西我收到了这条消息:

"GET /apple-touch-icon.png HTTP/1.1"404 142

但在浏览器中它显示了索引页面

而且我对nginx中的别名和重写感到困惑,我应该使用它

regex alias nginx

2
推荐指数
1
解决办法
6452
查看次数

标签 统计

alias ×1

atlassian-fisheye ×1

java ×1

keystore ×1

keytool ×1

nginx ×1

regex ×1