in reply to Encryption between Java and Perl

Consider GnuPG. There are plenty of perl interfaces on CPAN, and there seems to be java interfaces to.

GnuPG runs on many operating systems, and it's released under the General Public License (GPL).

--
Andreas

Replies are listed 'Best First'.
Re^2: Encryption between Java and Perl
by ethrbunny (Monk) on Aug 15, 2007 at 21:02 UTC
    I ended up using an MD5 hash of a 'nonce' plus a key to authenticate my client(s). This prevents random passers-by from calling my SOAP functions. Still working on incorporating SSL into the mix.
      If it's feasible for you, I've found SSL peer certificate-based authentication to be a good solution.

      I guess you can add all sorts of other authentication over the top of that (eg: passwords, session tokens, etc), but no passer-by is really going to be able to get past the SSL request authentication stage.

      I use openssl + a perl script to generate my client certificates... the attributes are formated so that they're both human readable (by the customer's web-browser) and so that they contain a (secret) ID which my code can look up in the database.

      -David