Questions tagged [pfx]

pfx is a file format containing public key together with the private key for encryption and chain of trust certificates attached to the public key if such a chain exists. Pfx files are protected by a password to access.

PKCS#12, that is Public-Key Cryptography Standard number 12, allows all the identity informations to be encrypted in a single cummulative carrier to be utilized and exchanged. That carrier is the pfx file that includes the public key, the private key, and attached certificates and identities accompanying them.

604 questions
16
votes
3 answers

Azure App Service unable to validate .pfx file: Certificate failed validation because it could not be loaded

For years I was able to upload new pfx files for SSL binding on Azure App Services using the OpenSSL creation method in this Stack Overflow answer: openssl pkcs12 -export -out domain.name.pfx -inkey domain.name.key -in domain.name.crt However,…
Matthew Steven Monkan
  • 8,170
  • 4
  • 53
  • 71
16
votes
2 answers

Self-signed certificate for device with local IP

Scenario: We have a device similar to a WiFi router that has UI and API exposed The device will run on any LAN out of our control, just like a WiFi router runs on any house. The device doesn't belong to any domain and is accessed through its IP…
Jaime
  • 5,770
  • 4
  • 23
  • 50
16
votes
1 answer

Convert Certificate and Private Key to .PFX programmatically in C#

I have a .cer file output from a successful LetsEncrypt certificate request. I have the original Private Key used to create the Certificate Signing Request (CSR) for LetsEncrypt. Now we need to programmatically combine these two files into a PFX…
Marcus
  • 675
  • 2
  • 8
  • 24
16
votes
2 answers

I'm using .pfx certification in my node.js https server and I can't use 'passphrase' in option

I'm currently making an web application with node.js and https. So I try to use my .pfx(I got the file from here http://www.cert-depot.com/) for certification required for https, like following code: var https = require('https'); var fs =…
Jack O'Neill
  • 163
  • 1
  • 1
  • 4
15
votes
1 answer

Importing key file "filename.pfx" was canceled.

I downloaded a open source project and was trying to open it in VS 2010. It contained the .pfx file which gives me the above mentioned error while building the project. I tried signing it using sn -i VS_KEY_GHSTGEDY8755075 but it asks me for the…
Balaji Birajdar
  • 2,394
  • 1
  • 23
  • 29
15
votes
1 answer

mac verify failure using Node with ssl certificate

as specified in the Node api doc I tried the first one with a self created and signed cert using openssl. Everything was going fine except the fact that the couldn't test the client side from an android because it was needed a ca certificate. When I…
eKelvin
  • 921
  • 1
  • 9
  • 25
15
votes
1 answer

How do I securely store a .pfx password to use in MSBuild?

I need to add certificate signing to my build. Below is a sample of the working script I wrote, however it includes the password to the .pfx file. I can't keep the password in the build script. What are "best practices" or hacks that you would use…
Dan
  • 280
  • 3
  • 9
14
votes
2 answers

P12 PFX NodeJS Request

I am trying to make a request with a p12 file or a pfx, but I can't get it to work. If I use PEM and KEY the code works fine. But Azure Keyvault does not support PEM and KEY. Is there an alternative that works with KEY/PEM certificates? This is how…
Krister Johansson
  • 691
  • 2
  • 10
  • 34
14
votes
2 answers

What password does domain-protected pfx require?

I try to create a self-signed code signing certificate via powershell to sign a .NET assembly through Visual Studio 2017 with it as a pfx afterwards. The pfx is exported as a domain-protected certificate using -ProtectTo argument. The code is as…
14
votes
3 answers

Import-PFXCertificate password issue

I have a client side cert PFX from some idiot to allow some users access his website and I need to script it so I can allow multiple users to auto import this cert into the local store during a logon to our RDS environment. This cert also came with…
Andy Denley
  • 141
  • 1
  • 1
  • 3
14
votes
1 answer

How to sign a JAR file using a .PFX file

We sign our .net code with a .PFX cert file. A colleague now needs to use the the same cert to sign a .jar file for a customer. Can someone point me to a link or an example of how I can do this please? The jar file will be used on Oracle Web Logic…
Preet Sangha
  • 64,563
  • 18
  • 145
  • 216
14
votes
7 answers

winhttpcertcfg giving access to IIS user in Windows 7

I need to give access to the IIS user to a pfx certificate. The website is running under the App Pool under some user AppPoolUser. IIS automatically has the user name "IIS APPPOOL\AppPoolUser" and this is what we need to give access when we use…
bkhanal
  • 1,400
  • 3
  • 16
  • 24
13
votes
1 answer

SSL certificate file type

Bit of a silly question, but: What kind of file(s) do you get when you buy an SSL certificate from a trusted CA? Is there a .pfx file? I'm working on a small tool to manage SSL certificates, but I'm not sure exactly what kind of certificates I'll be…
Cameron
  • 96,106
  • 25
  • 196
  • 225
13
votes
5 answers

NodeJS load PFX certificate from file

I am writing a small project using Node.JS and TypeScript, once of the requirements is to read a PFX certificate from a .pfx file and use this in the code to encrypt the payload body I have a certificate public/private key file called cert1.pfx, my…
Neil Stevens
  • 3,534
  • 6
  • 42
  • 71
13
votes
1 answer

How to apply PFX certificate file to SslStream socket listener?

I have a multi threaded socket listener. It listens on a port. It receives data from HTTP web sites and sends response according to their request. It works good. Now I want to do same thing with an HTTPS web site. So I changed it to be able to read…
Orkun Bekar
  • 1,447
  • 1
  • 15
  • 36
1 2
3
40 41