Skip to content

Object reference error in SectigoCAPlugin.cs line 518 #4

Open
@jwcranford

Description

@jwcranford

2024-11-18 18:39:03.9231 Keyfactor.Extensions.CAPlugin.Sectigo.SectigoCAPlugin [Error] - Synchronize Task failed. Object reference not set to an instance of an object. | at Keyfactor.Extensions.CAPlugin.Sectigo.SectigoCAPlugin.Synchronize(BlockingCollection1 blockingBuffer, Nullable1 lastSync, Boolean fullSync, CancellationToken cancelToken) in D:\a\sectigo-scm-caplugin\sectigo-scm-caplugin\sectigo-scm-caplugin\SectigoCAPlugin.cs:line 518

Looking at

, it looks like there is a code path where dbCertId is not initialized. Based on the comments, it appears that this would happen for a pending certificate, without a serial number.

Reproduced using our internal testing account. I can help with testing as needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions