Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4099546
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T20:26:54+00:00 2026-05-20T20:26:54+00:00

I have a GoDaddy-issued code signing certificate in a .spc file. Also, I have

  • 0

I have a GoDaddy-issued code signing certificate in a .spc file. Also, I have a private key in .key file. The code signing has been issued some 13 months ago, then it expired and was renewed with GoDaddy. During the renewal process no private key was requested and just a new .spc file was issues.

Now I’m facing the problem of joining the original private key file with the issues certificate to form a .pfx (or .cer?) file suitable for installation into the Windows certificate store.

The command I’m trying is:

openssl.exe pkcs12 -inkey my.key -in my.spc -out my.pfx -export

However, I’m getting an error message that reads “No certificate matches private key”.

I’ve followed this answer on SO to verify the .key file is a valid private key. However, when I try to verify that .spc is a valid certificate, I just get

unable to load certificate 
5436:error:0906D06C:PEM routines:PEM_read_bio:no start line:.\crypto\pem\pem_lib.c:650:Expecting: TRUSTED CERTIFICATE

What’s the correct way of producing an .pfx file from my inputs? I’m using OpenSSL 0.9.8k.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T20:26:54+00:00Added an answer on May 20, 2026 at 8:26 pm

    In the end I managed to figure out a procedure that works. Here are the steps to generate a new PFX and CER code signing certificate from SPC and KEY files:

    1. Obtain your new CodeSign.spc certificate from GoDaddy.
    2. Export a PEM-formatted private key from the expired PFX:

      openssl.exe pkcs12 -in CodeSign.pfx -nocerts -out CodeSign.pem
      
    3. Convert the PEM-formatted private key into the PVK format:

      pvk.exe -in CodeSign.pem -topvk -strong -out CodeSign.pvk
      
    4. Combine the PVK and SPC into PFX:

      pvk2pfx.exe -pvk CodeSign.pvk -pi <passphrase> -spc CodeSign.spc -pfx CodeSign.pfx -po <passphrase> -f
      
    5. Import the resulting PFX file into Windows certificate store. Remember to make it exportable.

    6. Export it from the certificate store into the binary CER format as CodeSign.cer.
    7. Optionally delete the certificate from the Windows certificate store.

    In case you are renewing your certificate periodically you can store the PVK file and skip steps (2) and (3).

    UPDATE: In case you happen to have the certificate in CRT instead of SPC format, do the following to covert it into SPC:

    openssl crl2pkcs7 -nocrl -certfile CodeSign.crt -outform DER -out CodeSign.spc
    

    Sources:

    • http://www.tech-pro.net/export-to-pvk-spc.html
    • http://ellisweb.net/2008/08/signing-code-using-pvk-and-spc-files/
    • http://www.drh-consultancy.demon.co.uk/
    • https://www.sslshopper.com/ssl-converter.html
    • http://russenreaktor.wordpress.com/2010/06/10/solved-convert-signing-certificate-crt-to-spc/

    The tools you will need:

    • OpenSSL
    • pvk.exe — see the download link at the bottom of that page (original location may not be accessible; in such a case see this article with a link to a mirror site or another direct download link here)
    • pvk2pfx.exe — part of Microsoft SDKs, installs with Visual Studio 2010
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an hosting account on Godaddy which has been redirected for last few
I have a website that has a valid wildcard certificate from Godaddy. When I
For some reason all my DNN pages (I have installed DNN automatically using Godaddy)
I have been trying to connect to my database using pdo on godaddy with
For some reason my PDF upload form is failing consistently, I have this code:
I have one .key file from which I generated a .csr file that I
I have a GoDaddy WildCard Certificate Installed in my Windows 2008 R2 Box. I'm
I have a website hosted with godaddy. Basically for my work I use TFS.
I have just moved a site from a dedicated server to a GoDaddy shared
Have a SomeLib.pro file that contains: CONFIG += debug TEMPLATE = lib TARGET =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.