我有一台运行glassfish 3.1.2应用服务器的linux centos服务器。来自GlassFish安装的端口4848和8181的默认证书为1024位。我需要将它们替换为2048位版本。寻找帮助来创建执行此操作的keytool命令行代码。
我在这里找到证书:
# keytool -list -keystore keystore.jks
Keystore type: JKS
Keystore provider: SUN
Your keystore contains 2 entries
glassfish-instance, Feb 7, 2012, PrivateKeyEntry,
Certificate fingerprint (SHA1): 40:...:46
s1as, Feb 7, 2012, PrivateKeyEntry,
Certificate fingerprint (SHA1): 3C:...:FC