On Fri, 8 Jul 2005, Matt Sergeant wrote:

On 8 Jul 2005, at 12:49, Charlie Brady wrote:

Biggest problem seems to be that the password is requested every time.

The STARTTLS plugin you sent doesn't have anything to do with passwords. So you are talking about some interaction with AUTH, which I haven't looked at.

No, this is to do with private keys - if the key has a password it gets asked for each time. You can get around that by not using DES3 and having a blank password, or as you can see in the code I checked in I save away the context object in init(), which requests the password once.

Yes, I made no provision for SSL certificates with passphrases. I use a self-signed certificate with no passphrases.

Not sure if this is the right solution. Your code with cert == privkey didn't work for me. Maybe I was doing something fishy.

I'm using a pem file, which is a bundle (pretty much concatenation) of both cert and key.

---
Charlie

Reply via email to