Hi,
I have a xml file in a VM. I need to find few key words and update their values in it.
Here is the text in the file
Connector port=“443” protocol=“org.apache.ote.http11.Httptest” maxThreads=“150” SSLEnabled=“true”
sslImplementationName=“org.apache.tomcat.util.net.jsse.JSSEImplementation” scheme=“https” secure=“true” clientAuth=“false”
sslProtocol=“TLS” keyMtoreFile=“C:\tomcat\apache-tomcat-7.0.80\cert\test.kls” keyMtorePass=“test” keyAlias=“01-test-1234-1111-0000-000000000”
I need to find values for
- keyMtoreFile
- KeyAlias
- port
Once I find the locations and values I need to update the values in the “”. For Example
Current value for : keyMtoreFile=“C:\tomcat\apache-tomcat-7.0.80\cert\test.kls”
New Value to be updated: = “Testing.kls”
How do I achieve this. This is an xml file but in a VM so studio cannot access the path and read this file. I need to copy the text to and make changes.