Forum Discussion

Lucas_Winstanle's avatar
Lucas_Winstanle
New Contributor
16 years ago

KeyStore Password contains period '.' character

Hi All,

First issue i have come across since using soapUI and i am unable to find any guidance with the searches i have performed in google.

I have a series of webservers, some of which require client side certification and have successfully been using them with out any issues.

We have recently implemented a new WS that has a keystore password 'password.' (period character at the end), and i am unable to retrieve the methods from the wsdl. However using the same cert and password through IE works fine. Does the period need to be escaped?

If more information is required please do not hesitate to ask for it, but from what i have seen in the error logs and http logs, the output is rather ambiguous as it simply states the WS requires a cert.

Cheers

2 Replies

  • Hi!

    hmm.. can you change the password for testing purposes to confirm that the trailing '.' is causing this?

    regards!

    /Ole
    eviware.com
  • Hello again

    I have been looking into this a little further as of late but unfortunately the team that issues the certificates are being very unhelpful to say the least so the password for the cert has to remain as it is.

    For argument sake, let’s assume the password for the cert is: P@ssw0rd.

    I have tried a variety of different escaping methods, replacing the special characters with octal numbers, hexadecimal etc. But still I am unable to authorise with the web service.

    For example:

    ==Escape==
    P\@ssw0rd.
    P@ssw0rd\.
    P\@ssw0rd\.

    P"@"ssw0rd.
    P@ssw0rd"."
    P"@"ssw0rd"."

    ==OCTAL==
    P\100ssw0rd.
    P@ssw0rd\056
    P\100ssw0rd\056

    ==HEX==
    P\u0040ssw0rd.
    P@ssw0rd\u002E
    P\u0040ssw0rd\u002E

    I’m all out of ideas. Have you not come across this before?

    Thanks again.