Questions tagged [p12]

146 questions
0
votes
0 answers

p12 authentication of get request using python

I would need your help using p12 certificate to authenticate my get request to remote server. Below I am attaching 2 codes one is working only in miniconda3 environment (not useful for me as later on I will need to deploy code on the server for the…
oorrii
  • 17
  • 4
0
votes
2 answers

What is the best way to hold a private key inside ios app

Im looking to use a private key with API's the only issue is how to hold/accure the private key at least on the first run becuase after i can have it inside keychain the best approach i see is having a p12 file and using SecPKCS12Import i can import…
Marchal
  • 286
  • 2
  • 16
0
votes
0 answers

How do I install p12 Certificate via Windows MQ server using Ikeyman?

We typically install p7b certs but this time for other reasons we received a p12 cert. I have instructions for installing the p7b certificate but I can't seem to find any information online pertaining to installing the p12 cert on the windows MQ…
0
votes
0 answers

PEM to P12 conversion

I am following this guide for authenticating my app as a Github app. Github gives me the possibility of generating an RSA private key, but what I need is generate a P12 file. I don't know much about it, so I had a research and it looks like it…
0
votes
0 answers

Getting error while converting p12 to pem

Getting error while converting p12 to pem: [('PKC12 routines', '', 'mac verify failure')] Code: from OpenSSL import crypto with open("C:\ECP\AUTH_RSA256_e64wwb32232e964314332121373cdf38wda2b13.p12", "rb") as file: p12 =…
Denzel
  • 359
  • 4
  • 12
0
votes
1 answer

OneSignal: Moving from p12 certificate to p8 certificate

I'm a little bit confused. I saw that it's possible in OneSignal now to also use p8 certificates. Now my short question is, do I have to update the mobile app that it's working with p8? Or do I only have to change the certificate in OneSignal and…
0
votes
1 answer

create p12 keystore secret in TF's kubernetes provider

After a lot of struggle and eventually, with the help of this post: I Get usable P12 bundle/private key from Terraform google_service_account_key resource, it is evident that Terraform doesn't support p12 keystores as such. My requirement: I am…
Nishant Kansal
  • 501
  • 1
  • 10
  • 23
0
votes
1 answer

Spring REST Docs - Add p12 certificate in Curl Snippet

I am using MockMVC and Spring REST docs and am trying to generate a curl snippet that has the certificate in it. I imagine the certificate portion of the curl statement should look something like: --cert-type P12 --cert…
rr_nm
  • 26
  • 4
0
votes
0 answers

Converting cer or pem file to p12 (ERROR: Could not read private key from -inkey file)

I bought a (E-mail ID Business (S/MIME)) certificate from certum, hoping to use to sign pdf files more affordable. They have send me the files in plain(pem) and in binary(cer). Here is the file list I downloaded: Certificate chain Certum Digital…
0
votes
1 answer

Combining PEM file into a P12 file

Sorry for the lack of knowledge but i would like to know how to combine and merge two PEM files into one p12 file. In general i would like to know the process of how to generate a p12 file containing a multi certifcates with their keys. PS: i've…
IlyesGH
  • 1
  • 2
0
votes
1 answer

OpenSSL can read .p12 key, but keytool says the password is incorrect

I'm trying to read a .p12 key with the java keytool, so I can import it into a java keystore. I get a password incorrect when I run: keytool -importkeystore -srckeystore key.p12 -destkeystore mycert.keystore -srcstoretype pkcs12 Yet the password…
mik
  • 799
  • 9
  • 31
0
votes
0 answers

Using OpenSSL No certificate matches private key

I am trying to create a .p12 file to establish a Two-Way SSL connection. I have both privateKey.pem and cert.pem in the same folder and run in openssl: openssl pkcs12 -export -in cert.pem -inkey "privateKey.pem" -certfile cert.pem -out…
Eplenide
  • 9
  • 2
0
votes
0 answers

C#: JWT bearer token authentication failure: Unauthorized

I'm encrypting JWT with a cert on the client-side and trying to validate that JWT on the server-side but it is always failing. Can anyone please help? Sender var handler = new JwtSecurityTokenHandler(); var tokenDescriptor = new…
TheDeveloper
  • 1,127
  • 1
  • 18
  • 55
0
votes
2 answers

Apple Developer account converting a .cer file to p12

So I created a CertificateSigningRequest.certSigningRequest and had it signed in Apple Developer portal, under Certificates, Identifiers & Profiles -> Identifiers. And after I downloaded the result I have a myCert.cer file, now for my next step I…
user2167582
  • 5,986
  • 13
  • 64
  • 121
0
votes
0 answers

.pem file that I created from .p12 gives ssl error

I try to create .pem file from .p12 file with this command openssl pkcs12 -in voip_services.p12 -out voip_services.pem -nodes -clcerts Previously it works fine but my pem file will expire in few days so I try to create new .pem file but this gives…
zia sultan
  • 340
  • 3
  • 17