having a issue changing Kurento projects certificate?

不问归期 提交于 2019-12-04 09:00:42

Without an exact description of "the problem" or "the issue", it will be difficult to pinpoint what can help.

You can start by double-checking the content of "Securing Kurento Applications".
For instance, the command

mvn compile exec:java -Dkms.url=ws://kms_host:kms_port/kurento

would only work if your jar does include the new keystore in your jar file:

File keystore.jks must be in the project’s root path, and a file named application.properties must exist in src/main/resources/, with the following content:

server.port: 8443
server.ssl.key-store: keystore.jks
server.ssl.key-store-password: yourPassword
server.ssl.keyStoreType: JKS
server.ssl.keyAlias: yourKeyAlias

Double-check with this answer which states:

Check that you file is according to that, and make sure that you are providing the correct keystore location in server.ssl.key-store

Regarding the error message "Keystore was tampered with, or password was incorrect", see "keytool error Keystore was tampered with, or password was incorrect". It can be a passphrase issue for instance.

The OP AhMaD AbUIeSa adds in the comments:

After creating a new keystore from official site using the certificate and the private key the project worked with no problem.


As commented below by Nikola Lukic, to add a new certificat, you would need to :

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!