[OFBiz] Users - Ofbiz & ValueLink

Raymond Doran raymond.doran at DigitalEvergreen.com
Thu Sep 30 14:35:26 EDT 2004


Andy,

It looks like you are busy today and I really do appreciate your help. 
I have done what you said using the Jetty PKCSImport utility.  I have
also imported the Ofbiz util api into my project and I am using thier
SSLUtil and HTTPClient to do the SSL.  I am still getting 403.  When I
step through the code I can see the x509Certificate and everything looks
good in it.  I do notice however that ValueLink is looking for the
SUBJECTEMAIL value and the x509 certificate has an EMAILADDRESS value
int the subject section.  I apollogize for keeping you on this topic but
I am desperate.

Regards,
Raymond Doran

On Thu, 2004-09-30 at 12:09, A. Zeneski wrote:
> Its possible the pfx file is a pkcs12 (p12) format. I think IE has a 
> few options when exporting a certificate. Make sure you export the 
> private key as well.
> 
> Then use the PKCS12Import class from Jetty to create a JKS file. I 
> think there are issues with using a pkcs12 keystore. Its been quite a 
> while, so I don't remember all the details.
> 
> http://www.mortbay.org/javadoc/org/mortbay/util/PKCS12Import.html
> 
> 
> -Andy
> 
> On Sep 30, 2004, at 12:51 PM, Raymond Doran wrote:
> 
> > How did you export it as a p12, when I export it I get a pfx file.  The
> > java keytool recognizes the file as a pkcs12 keystore.  I was also told
> > that I might have to convert it to a pem and then import that into the
> > keystore somehow.
> >
> > Thanks you for talking to me about this.  Ihave been fighting this for 
> > a
> > week.
> >
> > Regards,
> > Raymond Doran
> >
> > On Thu, 2004-09-30 at 11:32, A. Zeneski wrote:
> >> I don't think pfx is a supported format for a java keystore. When I
> >> configured this for a client, I loaded the certificate into IE and
> >> exported it as p12. Then I found a p12 -> JKS import script (check
> >> google) and created a java readable keystore.
> >>
> >> Then make sure the truststore is configured for this file and make 
> >> sure
> >> the alias which contains the certificate is configured in
> >> payment.properties (under the valuelink configuration section).
> >>
> >> The code which does the SSL connections uses the alias name to locate
> >> the proper key/cert pair.
> >>
> >> -Andy
> >>
> >> On Sep 30, 2004, at 12:00 PM, Raymond Doran wrote:
> >>
> >>> Well, I am writing a java application to connect to valuelink and I 
> >>> am
> >>> having trouble with the class 1 certificate.  It is not being
> >>> recognized by the valuelink server.  It works in IE but when I use 
> >>> the
> >>> exported pfx as my java truststore I am having problems.
> >>>
> >>> Regards,
> >>> Raymond Doran
> >>>
> >>> ________________________________
> >>>
> >>> From: users-bounces at lists.ofbiz.org on behalf of A. Zeneski
> >>> Sent: Thu 9/30/2004 10:38 AM
> >>> To: OFBiz Users / Usage Discussion (High Traffic)
> >>> Subject: Re: [OFBiz] Users - Ofbiz & ValueLink
> >>>
> >>>
> >>>
> >>> I'm not using it per se, but I know the implementation very well. 
> >>> Where
> >>> are you having trouble?
> >>>
> >>> -Andy
> >>>
> >>> On Sep 30, 2004, at 10:48 AM, Raymond Doran wrote:
> >>>
> >>>> Is there anyone on this list using Ofbiz & ValueLink?  I am trying 
> >>>> to
> >>>> get an application running and I am looking for some help.
> >>>>
> >>>> Regards,
> >>>> Raymond Doran
> >>>>
> >>>> _______________________________________________
> >>>> Users mailing list
> >>>> Users at lists.ofbiz.org
> >>>> http://lists.ofbiz.org/mailman/listinfo/users
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Users mailing list
> >>> Users at lists.ofbiz.org
> >>> http://lists.ofbiz.org/mailman/listinfo/users
> >>
> >> ______________________________________________________________________
> >>  _______________________________________________
> >> Users mailing list
> >> Users at lists.ofbiz.org
> >> http://lists.ofbiz.org/mailman/listinfo/users
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.ofbiz.org
> > http://lists.ofbiz.org/mailman/listinfo/users
> 
> ______________________________________________________________________
>  _______________________________________________
> Users mailing list
> Users at lists.ofbiz.org
> http://lists.ofbiz.org/mailman/listinfo/users


More information about the Users mailing list