error: Incorrect API key or certificate: Authentication failed

0

Hi

 

We have created a new account and followed the steps mentioned in here:
https://support.fortanix.com/hc/en-us/articles/360015809372-Getting-Started-with-Self-Defending-KMS

 

We added new application and tried to use corresponding API key's for registering from our Windows VM server 2022 hosted in GCP, but we are getting following error:

--------------------------------------------------------------------------------------

C:\Program Files\Fortanix\KmsClient>FortanixKmsClientConfig.exe machine --api-key <API Key>
error: Incorrect API key or certificate: Authentication failed

C:\Program Files\Fortanix\KmsClient>FortanixKmsClientConfig.exe user --api-key <API key>
error: Incorrect API key or certificate: Authentication failed

--------------------------------------------------------------------------------------

Fortanix KMS CNG Provider is registered in our machine and verified the same.

 

Can you let us know if any additional configuration is required.

 

Thanks & Regards

Anil Kumar V

Comments

4 comments
  • Hi Amit,

    Can you send us the output for - certutil -csplist?

     

    And also, can you confirm the authentication method of the APP, is it API Key or certificate? 

    0
  • We are using API authentication for the app.

    Here is the output:

    C:\Users\anil_kumarv>certutil -csplist
    Provider Name: Microsoft Base Cryptographic Provider v1.0
    Provider Type: 1 - PROV_RSA_FULL

    Provider Name: Microsoft Base DSS and Diffie-Hellman Cryptographic Provider
    Provider Type: 13 - PROV_DSS_DH

    Provider Name: Microsoft Base DSS Cryptographic Provider
    Provider Type: 3 - PROV_DSS

    Provider Name: Microsoft Base Smart Card Crypto Provider
    Provider Type: 1 - PROV_RSA_FULL

    Provider Name: Microsoft DH SChannel Cryptographic Provider
    Provider Type: 18 - PROV_DH_SCHANNEL

    Provider Name: Microsoft Enhanced Cryptographic Provider v1.0
    Provider Type: 1 - PROV_RSA_FULL

    Provider Name: Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider
    Provider Type: 13 - PROV_DSS_DH

    Provider Name: Microsoft Enhanced RSA and AES Cryptographic Provider
    Provider Type: 24 - PROV_RSA_AES

    Provider Name: Microsoft RSA SChannel Cryptographic Provider
    Provider Type: 12 - PROV_RSA_SCHANNEL

    Provider Name: Microsoft Strong Cryptographic Provider
    Provider Type: 1 - PROV_RSA_FULL

    Provider Name: Microsoft Software Key Storage Provider

    Provider Name: Fortanix KMS CNG Provider

    Provider Name: Microsoft Passport Key Storage Provider

    Provider Name: Microsoft Platform Crypto Provider

    Provider Name: Microsoft Smart Card Key Storage Provider
    CertUtil: -csplist command completed successfully.

     

    Regards

    -- Anil Kumar V

    0
  • 0
  • Thanks Anil, for your response.

     

    Can you please open a support ticket for us to investigate this at the earliest? 

    Link - Submit a request – Fortanix

    Will wait to hear from you.

    Thanks

    -Tanveen

    0

Please sign in to leave a comment.

Didn't find what you were looking for?

New post