Questions tagged [p12]

146 questions
4
votes
2 answers

Python Requests fails to get successful response with (converted) client cert

I’m trying to access an endpoint, which requires a client cert. I’m starting from a .p12, which I was able to quickly import to Google Chrome, and can successfully access the endpoint. So the client certificate and endpoint are compatible. However,…
Chris
  • 585
  • 3
  • 12
  • 26
3
votes
0 answers

PKCS12_parse: unsupported - when running a ruby application as a service on the server

In my ruby application, I am creating Apple wallet passes. The application actually works well, but when I try to start it as a service (/etc/systemd/system), it is failing. I can see that almost everything is working, but it fails when I want to…
Sebastian Fox
  • 1,324
  • 1
  • 10
  • 20
3
votes
1 answer

Get usable P12 bundle/private key from Terraform google_service_account_key resource

I have created a service account key for a GCP service account using the Terraform google provider. I've set the private key type to "TYPE_PKCS12_FILE", which we require for compatibility with an existing application. When I was testing this as a…
3
votes
0 answers

Certificate from Goddady

I created a certificate through GoDaddy. I need to create a pfx or p12 certificate in order to sign it in a windows executable. I followed GoDaddy's instructions from this link, but I was unable to generate the pfx file. I have .spc and .pem files…
3
votes
0 answers

react native https request with .p12 or .pfx certificate best way

I develop a mobile application with react native. When I try HTTPS request my service needs to client-side certificate authentication. I searched a lot of resources and I found…
errorau
  • 2,121
  • 1
  • 14
  • 38
3
votes
1 answer

Call server-signing service with Base64 encoded certificate in DSS

I need to execute tok:sign request of DSS with a given certificate instead of an alias. certificate I tried to replace below one with a base64 string, but got following error in log. INFO | http-nio-8080-exec-3 | …
plaidshirt
  • 5,189
  • 19
  • 91
  • 181
3
votes
1 answer

Convert der certificate to p12

I am trying to upload my adobe air app to Google Play. I have opted in for Google Play App Signing and cannot opt out now. They provide me with .der certificate which I wish to convert to p12 in order to use it in my adobe AIR app. I know this can…
Shahbaz Pothiawala
  • 1,175
  • 5
  • 20
  • 38
3
votes
1 answer

Getting "curl: (58) unable to use client certificate" with calls using p12 file

I created a p12 file on my MacOS ElCaptain, using a .pem and .key file via openssl command : openssl pkcs12 -export -in .pem -inkey .key -out .p12 Everything went ok. I was able to make my cURL calls using this…
Rodrigo Ney
  • 353
  • 4
  • 20
2
votes
1 answer

PHP CURL request for a P12 (PFX) certificate with an export password (Passphrase)

Based on the PEM certificate and a key file, I'm creating two P12 (Pfx) files, with and without passphrase demo_cert.pem demo_key.pem demo_pfx_withoutPassphrase.p12 demo_pfx_withPassphrase.p12 openssl pkcs12 -export -clcerts -in demo_cert.pem…
Nishi Bangar
  • 720
  • 9
  • 20
2
votes
1 answer

Mac: How to Correctly Import "Provisioning Profile" or Certificate into Keychain Access

I've been working in mobile development for about seven years now and deploying to iOS devices has always been the bane of my existence. One of the most annoying elements is waiting on a 20 minute build - only to hit a "build failed" error (at the…
Tim
  • 539
  • 2
  • 9
2
votes
2 answers

Import certificate on windows server 2012 fail

I have a p12 file (RS256), when I open through Certificate Import Wizard on windows 10 and follow steps, windows could read the file with a password, but when it move to windows server 2012 r2 and do the same steps, windows fails to read the file…
staxoverflow
  • 21
  • 1
  • 4
2
votes
2 answers

openssl ocsp Responder Error: unauthorized (6)

I want to verify whether the Apple p12 certificate is revoked. Verify through OpenSSL, but the failure rate Responder Error: unauthorized (6) openssl s_client -connect ocsp.apple.com:443 2>&1 < /dev/null | sed -n '/-----BEGIN/,/-------END/p' >…
Rose Jane
  • 21
  • 1
  • 2
2
votes
1 answer

How to create a JKS or P12 keystore with Python

I'm working on a Python 3 script that among other things, at some point it needs to create a .JKS or .P12 keystore. I use to have a bash script that used keytool for this: keytool -genkey -keyalg RSA -alias certAlias \ -keystore keystore.jks…
Santos
  • 177
  • 1
  • 1
  • 15
2
votes
2 answers

Convert cert to pfx or p12 file format

Convert .crt, .csr, and .key files to .pfx or .p12 using powershell on Windows server 2016. I have .cert, .csr, and .key files. But in order to execute the "netsh http add sslcert ..." command, I need the .pfx or .p12 file. And I need this to be…
naoumm
  • 69
  • 1
  • 1
  • 5
2
votes
1 answer

How to use codesign command

I am trying to use codesign command to sign bundle. First of all I have got p12 file and I have imported into my keychain. However when I try to use codesign like this: codesign -v --force --verify --deep --verbose --sign It says…
RuLoViC
  • 825
  • 7
  • 23
1
2
3
9 10