File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -574,10 +574,20 @@ public async Task Synchronize(BlockingCollection<AnyCAPluginCertificate> blockin
574574 continue ;
575575 }
576576
577+ string prodId = "" ;
578+ try
579+ {
580+ _logger . LogTrace ( $ "Cert ID: { certToAdd . Id . ToString ( ) } ") ;
581+ _logger . LogTrace ( $ "Sync ID: { syncReqId . ToString ( ) } ") ;
582+ _logger . LogTrace ( $ "Product ID: { certToAdd . CertType . id . ToString ( ) } ") ;
583+ prodId = certToAdd . CertType . id . ToString ( ) ;
584+ }
585+ catch { }
586+
577587 AnyCAPluginCertificate caCertToAdd = new AnyCAPluginCertificate
578588 {
579589 CARequestID = syncReqId == 0 ? certToAdd . Id . ToString ( ) : syncReqId . ToString ( ) ,
580- ProductID = certToAdd . CertType . id . ToString ( ) ,
590+ ProductID = prodId ,
581591 Certificate = certData ,
582592 Status = ConvertToKeyfactorStatus ( certToAdd . status , certToAdd . Id ) ,
583593 RevocationReason = ConvertToKeyfactorStatus ( certToAdd . status , certToAdd . Id ) == ( int ) EndEntityStatus . REVOKED ? 0 : 0xffffff ,
You can’t perform that action at this time.
0 commit comments