Closed lukaszlacinski closed 11 years ago
This is an old bug discussed here http://bugzilla.mcs.anl.gov/globus/show_bug.cgi?id=6029#c8.
X509Name issuerDN = (X509Name) issuerCert.getSubjectDN();
in ssl-proxies/src/main/java/org/globus/gsi/bc/BouncyCastleCertProcessingFactory.java should be changed to
X509Name issuerDN; if (issuerCert.getSubjectDN() instanceof X509Name) { issuerDN = (X509Name)issuerCert.getSubjectDN(); } else { issuerDN = new X509Name(true,issuerCert.getSubjectX500Principal().getName()); }
Hi Lukasz,
Is it possible for you to submit a pull request for this?
Thanks,
Brian
Any updates?
Closing this ticket as I believe jrevillard's commit fixes it..
This is an old bug discussed here http://bugzilla.mcs.anl.gov/globus/show_bug.cgi?id=6029#c8.
X509Name issuerDN = (X509Name) issuerCert.getSubjectDN();
in ssl-proxies/src/main/java/org/globus/gsi/bc/BouncyCastleCertProcessingFactory.java should be changed to
X509Name issuerDN; if (issuerCert.getSubjectDN() instanceof X509Name) { issuerDN = (X509Name)issuerCert.getSubjectDN(); } else { issuerDN = new X509Name(true,issuerCert.getSubjectX500Principal().getName()); }