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 981765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T04:35:40+00:00 2026-05-16T04:35:40+00:00

Upon installation of a client side certificate, I am getting the exception Object contains

  • 0

Upon installation of a client side certificate, I am getting the exception “Object contains only the public half of a key pair. A private key must also be provided”. My application is a VC#.NET application running over an ASP.NET platform. The application also uses WSE 2.0 to import certificates into making SOAP requests.

Upon research, I’ve found that this exception is of type System.Security.Cryptography.CryptographicException.

I am pretty positive all my WSE settings are configured correctly, since I was able to find a similar certificate by subject-distinguished-name. Any ideas will be greatly appreciated.

  • 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-16T04:35:41+00:00Added an answer on May 16, 2026 at 4:35 am

    I was recently having the same problem. I found one explanation here that worked for me. Specifically, the permissions for the private key. The full info is copied below.

    There are a couple things that I would
    look at first:

    1. Do you have a private key for this certificate?
    2. Have you given permission for youf application to access the private
      key?

    You can establish whether you have a
    private key by viewing the certificate
    through the Windows Certificate Store.
    To get to this, follow these steps:

    1. From the Windows Start menu, select Run.
    2. Type mmc in the Open: field. Click OK
    3. Select “Add/Remove Snap-in” from the File menu.
    4. Click the Add button.
    5. Select “Certificates” from the list of Available Standalone Snap-ins.
      Click the Add button.
    6. Select “Computer account.” Click Next.
    7. Select “Local Computer”. Click Finish.
    8. Click Close.
    9. Click OK.
      1. Expand the Certificates node under the Console Root and open the
        Personal store.
      2. Double-click the Certificate you’re using. If you have a private
        key, the dialog will display a message
        at the bottom that says “You have a
        private key that corresponds to this
        certificate”.

    If you have a private key, then ensure
    that your application has permission
    to access the key:

    1. Open Windows Explorer.
    2. Navigate to the C:\Documents and Settings\All Users\Application
      Data\Microsoft\Crypto\RSA\MachineKeys
      folder.
    3. Select the files containing the keys that the WSE will need to
      retrieve.
    4. From the File menu, select Properties.
    5. On the Security tab, add the ASPNET account and select th e Full
      Control option.
    6. Notes:
      1. Determining which key file in the MachineKeys folder is
      associated with a certificate can be
      difficult. One easy method is to note
      the creation date and time when
      creating a new certificate. When you
      view the files in the MachineKeys
      directory, check the Date Modified
      field for the corresponding date and
      time.
      2. If you have configured your system to run under a different
      account than ASPNET, use that account
      when granting permissions to access
      the certificate.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Upon installation of a Windows Service, an application is using a custom action to
Upon considering the driver side implementation for DirectX API on windows systems for modern
Upon starting my webapp within Tomcat 6.0.18, I bootstrap Spring with only what is
I am working on a Java Desktop program which upon its installation will designate
Increasingly I found myself using tools based upon python, particularly that use installation processes
I have a Visual Studio setup project. Upon installation, it creates an uninstall batch
-How can I check for a new version of my application upon installation? I
And when I say install I mean move upon installation. I want to package
At my company, we use Weblogic (depending upon the installation anywhere between versions 6.1
Upon user login I check their roles. If they have no roles I want

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.