Skip to content

Can't connect/authenticate to Sectigo or Keyfactor APIs #3

Open
@tomgoodmancbc

Description

@tomgoodmancbc

Installed ver 1.0.0 on Keyfactor Orchestrator Windows server 2022 - also installed .Net 9.0

Updated config.json as follows:

{
"config": {
"sectigoLogin": "[email protected]",
"sectigoPassword": "I1QQd5Q5",
"sectigoCustomerUri": "https://hard.cert-manager.com/customer/capbluecross",
"sectigoAPIUrl": "https://cert-manager.com/customer/capbluecross",
"keyfactorLogin": "capbluecross\keyfactor-api",
"keyfactorPassword": "56rc_JQ8YG87KIw5v9S5$m-Fy",
"keyfactorAPIUrl": "https://keyfactor.keyexample.com/keyfactorAPI",
"keyfactorDateFormat": "M/d/yyyy h:mm:ss tt",
"importAllCustomFields": "false",
"syncRevokedAndExpiredCerts": "true",
"issuerDNLookupTerm": "Sectigo",
"enableDisabledFieldSync": "false",
"sslTypeIds": [ 111111, 222222 ],
"sectigoPageSize": 25,
"keyfactorPageSize": 100
}
}

Ran E:\Tools\SectigoSync>SectigoMetadataSync.exe SCtoKF as instructed - error log shows:

2025-06-30 11:48:04.8496 | INFO | SectigoMetadataSync.MetadataSync | ============================================================
2025-06-30 11:48:04.8812 | INFO | SectigoMetadataSync.MetadataSync | [START] Sectigo Metadata Sync - Run at 2025-06-30 11:48:04
2025-06-30 11:48:04.8812 | INFO | SectigoMetadataSync.MetadataSync | [RUN ID: 3a47a719-2186-4387-80cf-1bcd6acbd090]
2025-06-30 11:48:04.8812 | INFO | SectigoMetadataSync.MetadataSync | ============================================================
2025-06-30 11:48:04.8812 | INFO | SectigoMetadataSync.MetadataSync | Configuration mode set to: SCtoKF
2025-06-30 11:48:04.9273 | INFO | SectigoMetadataSync.MetadataSync | Configuration loaded successfully. Testing connection to Sectigo API and Keyfactor API.
2025-06-30 11:48:05.0094 | INFO | SectigoMetadataSync.Client.SectigoCustomFieldsClient | Sectigo API authentication headers configured.
2025-06-30 11:48:05.2172 | ERROR | SectigoMetadataSync.MetadataSync | Failed to connect to Sectigo API: Response status code does not indicate success: 404.
2025-06-30 11:48:05.2172 | FATAL | SectigoMetadataSync.MetadataSync | Critical error: Response status code does not indicate success: 404.

When I plug https://hard.cert-manager.com/customer/capbluecross into a browser, I get:

Customer cannot be found.

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