Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple SSL problem



Yes I have those properties in the code.

System.out.println("I am setting the SSL information "+rEMOVEmEpATH);
System.setProperty("javax.net.ssl.trustStore", rEMOVEmEpATH);
System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.interna l.www.protocol");
java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());

I will have to experiment trust store. This code is being written and tested on a PC, but I am trying to keep working with OS X. They are trying to use the trust store to get past the our proxy/firewall.

Except for strange XOR painting bug, problems with JSSE and getting past our firewall. The os x vm for java seems quite nice.

Thanks for your help,
Jeff

On Thursday, October 3, 2002, at 10:12 PM, Chris W. Johnson wrote:


On Thursday, October 3, 2002, at 09:11 PM, Jeff Barrett wrote:
Why else would I get an implementation not available?

Jeff,

Did you include a line like the following somewhere in you code before attempting to use SSL?

System.getProperties().put("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");

I find that even with JSSE present on a machine, it isn't actually used unless its presence has been advertised in this manner. (This is documented somewhere, though I can't remember where.)

----Chris
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Simple SSL problem (From: "Chris W. Johnson" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.