Questions tagged [p12]

146 questions
0
votes
0 answers

How to send given p12 file in post request using java.net.HttpURLConnection (Two way Handshake p12 cert file)

I need to send .p12 file to communicate client-server to send the post request JSON and get the response. I am pretty new to these cert p12 files authentication. Through postman using the p12 file am able to get the response. Now I am trying…
0
votes
1 answer

Convert certificate in p12 file to base64

I have a p12 certificate which I need to use to create digital signatures to be sent in the headers of a HTTP request. I'm using the node-forge package to get the privateKey and certificate bags from the p12. const p12Asn1 =…
Geraint Anderson
  • 3,234
  • 4
  • 28
  • 49
0
votes
1 answer

How to generate p12 file using pem and key file in Keytool

I want to generate p12 file from existing pem and key file using keytool Can anyone implemented it? Thanks in Advance
Divya
  • 3
  • 1
  • 2
0
votes
1 answer

Where does "ipsec import" store certificate file?

I'm now setting up libreswan server - client. Basically, I'm trying to follow a procedure described here. https://kifarunix.com/setup-ipsec-vpn-server-with-libreswan-on-centos-8/ I created client certificate which is aaa.bbb.p12 from the server…
Cprogrammer
  • 153
  • 9
0
votes
1 answer

How to protect iOS p12 distribution certificate?

Our company is going to develop InHouse apps signed with Enterprise certificate. The question is: how can we protect the certificate from being stolen/shared by our developers but at the same time let the developers use it to sign our app?
0
votes
2 answers

How to programmatically import a pkcs12 file to a Java keystore

I have pkcs12 file (keypair.p12 ). With keytool I can import (merge) this with a Java keystore: keytool -importkeystore \ -deststorepass [changeit] -destkeypass [changeit] -destkeystore server.keystore \ -srckeystore server.p12…
user2209562
  • 244
  • 2
  • 16
0
votes
0 answers

Cannot import pfx using Java

I have a client certificate (pfx file), which I can easily import using the windows mmc, openssl and even Postman. But when I try to import it to Burp or ZAP proxies, I get error message that the password is incorrect. I tried to manually import it…
shaiws
  • 39
  • 2
  • 7
0
votes
1 answer

DocuSign JWT Authentication .p12 needed instead of PEM

i am trying to work with docusign JWT. The environment where i develop only supports .p12 files. Docusign offers me a pem file. Is there a way to convert the .pem into a .p12 or even better to generate a .p12 directly from docusign ? When trying to…
Martin
  • 790
  • 2
  • 9
  • 24
0
votes
0 answers

Is there a way to install pkcs12 (p12) certificate in Ubuntu 18 or later?

I have been trying to import a p12 certificate on my ubuntu 18 for a couple of days. Command: pk12util -i some_certificate.p12 Error: pk12util: function failed: SEC_ERROR_LEGACY_DATABASE: The certificate/key database is in an old, unsupported…
Mandip Tharu
  • 41
  • 1
  • 7
0
votes
0 answers

Could it be that a P12 Certificate has restrictions regarding using it with Postman?

i have a P12 Certificate and want to use it for calling a SOAP Service via Postman. If I use the certificate in Browser I get access to the URL. But if I using it with Postman I am getting 403 - Forbidden each time. So, before I try to dive in…
Buzz
  • 315
  • 6
  • 18
0
votes
0 answers

New to REST API and P12 certificates in Python and Requests

I was hoping to get some help in making a API Get request using the requests library via Python as I want to automate some API test scripts. I have access to the requests library but was wondering what is the proper syntax to authenticate a .p12…
0
votes
1 answer

How to add .p12 key to Java Spring from .pem file?

I have this 3 files: certificate.crt certificate.pem certificate.key The certificate.crt contains: -----BEGIN CERTIFICATE----- MIIGmzCCBYOgAwIBAg etc -----END CERTIFICATE----- The certificate.key contains: -----BEGIN RSA PRIVATE…
0
votes
1 answer

Pfx base encoded string to p12 certificates

I have my P12 certificates saved on a cloud environment and I am fetching those certificates in Java from an environment variable. Now I getting a PFX base 64 encoded string and password. I want to convert the string back to P12 certificates. Does…
0
votes
1 answer

Unavailable .p12 option

I'm trying to renew my APNS certificate, so I created a new one, (the one that read Sandbox & Production) downloaded and imported it to my keychain. The issue is that when I go to export it, the .p12 option is unclickable! It is there, but I can't…
Sotiris Kaniras
  • 520
  • 1
  • 12
  • 30
0
votes
1 answer

Convert jks to p12 in Java

Instead of using keytool in cmd or openssl, I want to convert a jks file to a p12 file in Java. My code so far is this: KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType()); char[] password = "lol".toCharArray(); ks.load(null,…
user12465043