Protection Engine for Network Attached Storage

 View Only
  • 1.  Can't encrypt/set proxypassword with XMLModifier.exe

    Posted Apr 25, 2015 02:37 AM

    Hi,

    I downloaded the trial version of "Symantec Protection Engine for Network Attached Storage 7.5.1" and installed it on a Windows Server 2008 R2 Enterprise machine. Because we do have to use a proxy server (with authentication) to get LiveUpdate to work I am trying to set the values in "liveupdate.xml" using XMLModifier.exe, but without any success:

    Setting the following values worked like a charm:

    proxyname (XMLModifier.exe -s s /liveupdate/updateserver/proxyname/@value MyProxyServer liveupdate.xml)

    proxyport (XMLModifier.exe -s /liveupdate/updateserver/proxyport/@value MyProxyPort liveupdate.xml)

    proxyuser (XMLModifier.exe -s /liveupdate/updateserver/proxyuser/@value MyProxyUsername liveupdate.xml)

    Trying to encrypt the proxypassword fails. I do the following:

    XMLModifier.exe -k /liveupdate/updateserver/proxypassword/@value MyProxyPassword "C:\Program Files (x86)\Symantec\Scan Engine" liveupdate.xml

    ...and I am receiving this error:

    ERROR: Unable to encrypt and set password field in file: liveupdate.xml

    If I am using "java -jar xmlmodifier.jar" instead of XMLModifier.exe I get no error, but it only puts "SPE" into liveupdate.xml where the encrypted proxypassword should be:

    <proxypassword value="SPE"/>

    What am I doing wrong or what am I missing? Any help would be very appreciated!

    Thanks a lot in advance.



  • 2.  RE: Can't encrypt/set proxypassword with XMLModifier.exe

    Posted Apr 25, 2015 09:28 AM

    In the meantime I also tried the following (without success):

    • Installed "Symantec Protection Engine for NAS 7.5.1" on a 32bit Linux (RHEL 6)
    • Tried two different methods to encrypt and set my proxy password into liveupdate.xml:
      1. ./xmlmodifier -e MyProxyPassword (--> MyEncryptedProxyPW)
        ./xmlmodifier -s /liveupdate/updateserver/proxypassword/@value MyEncryptedProxyPW liveupdate.xml
      2. ./xmlmodifier -k /liveupdate/updateserver/proxypassword/@value MyProxyPassword /opt/SYMCScan liveupdate.xml

    Although I ended up with an encrypted password in the file liveupdate.xml with both methods, SPE fails to decrypt them upon service restart (snip from /opt/SYMCScan/log/SSE20150425.log):

    1429967410|11|2|1|30|Failed to decrypt the Update server proxy password.|43|10.0.2.15|44|1344|45|3

    I have no more ideas, and because I don't get any technical support by phone during a trial, I am lost. I would be grateful if someone could tell me what am I doing wrong. Thanks a lot!