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

  • SEARCH
  • Home
  • 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 7977825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T09:19:15+00:00 2026-06-04T09:19:15+00:00

Background : I need to test an https endpoint for a WebRole on Windows

  • 0

Background: I need to test an https endpoint for a WebRole on Windows Azure. For that I need to upload a self-signed certificate, add the certificate’s thumbprint to the WebRole’s configuration and finally associate the endpoint with that configured certificate.

I created a self-signed certificate using makecert.exe, which is available through the Visual Studio Command Prompt. I used the following command:

makecert.exe -r -pe -n "CN=test.cloudapp.net" -sky exchange -ss my -len 2048 test.pfx

The command succeeds and I can upload the certificate file to the Windows Azure hosted service. But deployment of the WebRole fails with the following error:

Certificate with thumbprint 6AB… associated with HTTPS input
endpoint Endpoint2 does not contain private key.

I have to export the certificate from the my store, and choose to include the private key and provide a password. If I upload this exported certificate file and use its thumbprint, then deployment succeeds.

I want to create a certificate file that includes the private key, without first saving the certificate to any store and exporting it from the store. Is that possible using makecert.exe?

  • 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-06-04T09:19:16+00:00Added an answer on June 4, 2026 at 9:19 am

    To create a certificate without saving it to any store you’ll need to use pvk2pfx.exe (available through the Visual Studio Command Prompt).

    It works like this:

    makecert.exe -sv CertKey.pvk -n "CN=My Azure Certificate" CertKey.cer
    pvk2pfx.exe -pvk CertKey.pvk -spc CertKey.cer -pfx MyPFX.pfx -po yourPasswordHere
    

    Running makecert.exe will aks you for a password for the private key. You’ll need to enter that password for the -po argument of the pvk2pfx.exe command.

    Finally you’ll have a pfx file (containing private key) named MyPFX.pfx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need change background of all text that have two spaces from the start
I need to create a fading background image that stretches to fill the browser.
I need to add submenu to Appearance menu at WordPress like Background, Header, etc.
http://removed.com/jquery/test.html# I have three problems that I need help with. 1 ) When you
I have a css file that links to images. .test{ background: url(http://site.com/dynamic/test.jpg) no-repeat; }
We need to add a feature to our website that allows the user to
I need to write a test which verifies that my code can handle an
Background We need to develop a specialised CMS (internal use only) to support a
I come from a .NET background and need to do a web project in
When i send my application to the background i need to kill the process,

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.