Skip to main content
4 respostas
  1. 24 de abr. de 2020, 07:55

    Thanks for your reply. I have already gone through this link. I have a doubt actually. Suppose I am adding these attributes in the properties file (say config.properties) like below.

     

    #my keystore file is inside resources of mule project

    javax.net.ssl.keyStore=/opt/mule/apps/api-name/something.jks

    javax.net.ssl.keyStorePassword=some_password

    javax.net.ssl.trustStore=/opt/mule/apps/api-name/something.jks

    javax.net.ssl.trustStorePassword=some_password

     

    But it didn't work. I didn't expect also because I am not referring these values anywhere like ${javax.net.ssl.keyStore} etc. etc. So I am still not sure.

     

    However, the application just works perfect if deploy manually to RTF and add the above parameters under the JVM tab (last tab in RTF console) with -D like below.

     

    -Djavax.net.ssl.keyStore=/opt/mule/apps/api-name/something.jks

    -Djavax.net.ssl.keyStorePassword=some_password

    -Djavax.net.ssl.trustStore=/opt/mule/apps/api-name/something.jks

    -Djavax.net.ssl.trustStorePassword=some_password

     

    Hope I am able to explain. Please advise.

0/9000