|
From: John R <joh...@gm...> - 2018-10-15 10:49:17
|
Hello, We tried upgrading from 6.2.0 to 6.10.0 following the guide on the site. Everything seemed to work but now we can't enroll the certificate. I did some light digging and the problem seems to be the method willPublishCertificate in CustomPublisherContainer which is inherited by LegacyValidationAuthorityPublisher which is the actual class returned by getCustomPublisher. It basically always creates a new instance of itself and then calls the willPublishCertificate method on itself and so on forever. I hardcoded it false and the enrollment started working. Then I checked how it was in the original 6.2.0 source and saw that the BasePublisher class had the method back then and it was hardcoded to true. So I tried that on out 6.10.0 source and then got a StackoverflowException from the method isFullEntityPublishingSupported again in CustomPublisherContainer. There it again ask for getCustomPublisher, gets a new instance of itself and calls the method on the new instance again resulting in an endless recursion. The whole process of ending with these issues is -> create new end entity using our previously existing CAs --> go to public web and try to enroll. What are we doing wrong? |