Questions tagged [p7b]

19 questions
6
votes
1 answer

nodejs with expressjs and SSL p7b certificate

I'm very sorry for my language but I'm not speak english. I'm trying to implement in my app SSL but I have only valud p7b created by csr file. I'm using expressjs and node js on linux server. I know how to implement PEM certificate var options = { …
axlpl
  • 483
  • 1
  • 7
  • 18
5
votes
1 answer

How to Convert .p7b to .jks

I have a certificate which is in .p7b I want change into .jks. So How can I convert it into .jks please reply thanks in advance
Vakeel Mansoori
  • 51
  • 1
  • 1
  • 4
3
votes
2 answers

keytool keytool error: java.lang.Exception: Input not an X.509 certificate

Attempting to add a certificate to the keystore so I can use it in an java based application. This is a new concept to me. I have a .p7b certificate for the site and I put together a keytool command. When I enter it, I am prompted to specify a pwd…
user3032973
  • 415
  • 2
  • 8
  • 26
2
votes
1 answer

Convert SIPolicy.p7b back to XML? How do I know if Rule 3 (Audit Mode) is in SIPolicy.p7b? [Windows Defender Application Control] [SIPolicy]

I have been struggling with a problem for a while now... Basically, I am creating a PowerShell GUI that will allow admins in my organization to deploy Windows Defender Application Control (WDAC) policies through PowerShell with a user-friendly…
tayoojo
  • 21
  • 2
2
votes
1 answer

Install p7b on apache

I got one certificate from the service provider ( We need to consume the service from server for single sign on) certificate is p7b format certificate. Dont know how to install it on apache. Can anyone help to install certificate. I got allready one…
Rohit Harkhani
  • 656
  • 4
  • 9
1
vote
2 answers

How to read a p7b file programmatically in java

I have .p7b file in my local storage (C:\Users\Certs\cert.p7b). This solution is not working for me. I tried the following. File file = new File("C:\Users\Certs\cert.p7b"); BufferedInputStream bis = null; try { byte[] buffer = new byte[(int)…
Saravana Kumar
  • 140
  • 2
  • 16
1
vote
0 answers

Create/Convert to CMS/pkcs7 Certificate from Certificate collection and save it as p7b

I'm trying to convert/Create a PKCS7 "p7b" Certificate from signed certificate pem + chain using BouncyCastle or .net Cryptography class I tried to use only BC without success, so I use BC only to read pem certs and then transform it to an…
leo
  • 51
  • 2
1
vote
1 answer

Import Only some Cert.'s in a P7b

I have a certificates.p7b file with 2 certificates in it. Lets Call the Certs A and B. if I run Import-Certificate -FilePath $CertFile -CertStoreLocation $CertStoreMY It will import both certificate A and B. I only want to import certificate A Is…
1
vote
1 answer

Get a .p7b file from a .jks file

I have a .Net SAML implementation that verifies assertions' signatures against a PKCS 7 certificate in a .p7b file. I have a customer who have a Java based identity provider. They can only provide their certificate in a Java key store .jks file. I…
Keith
  • 150,284
  • 78
  • 298
  • 434
0
votes
0 answers

How to parse all certificates from p7b String using swift?

I am trying to parse all certificates from p7b string or PKCS7 string. I am using ASN1Decoder for this purpose. I tried to parse using PKCS7 method but i think it is not working properly and the certificate count is always 0. I tried with both…
ahad alam
  • 69
  • 7
0
votes
0 answers

How to extract a base64 server cert from a p7b file in python

I have a p7b file I need to extract the base64 server certificate from. I have an openssl command I can do this on in my terminal, but the problem is I have a whole folder full of p7b certs I need to extract the server certs from. Here is my openSSL…
mbeckman
  • 13
  • 4
0
votes
1 answer

p7b certificate has been issued by DigiCertificate but unable to figure out the OID object identifier of the p7b certificate

I have tried this signtool.exe sign /p7 C:\CertificateName.p7 /p7ce Embedded /p7co "C:\bin\xx*.dll" but i feel like OID value is wrong hence the error is SignTool Error: No certificates were found that met all the given criteria. Can anyone help…
0
votes
1 answer

How to point to/access a cert file `CertCreateCertificateContext` function? (wincrypt api)

A little new to windows programming/C++. I'm trying to install a .p7b root certificate file to the Trusted Root Certificate Store. I want to use the Windows Wincrypt library. Specifically, these are the suggested steps that I got from an old forum:…
bwang
  • 49
  • 7
0
votes
1 answer

how to use p7b and p12 certificates

Hello my goal is it to encrypt the password of a zipfile. As for now I only had to generate a SHA Hash which will be my password and used the RSA-Cryptoprovider with me private key to encrypt the password. Now I need to use .p7b and .p12…
Hakunama Tatarov
  • 125
  • 1
  • 14
0
votes
1 answer

NodeJS - Get certificate Chain from P7B file

I'm trying to take a CMS base64 encoded string, convert it into a pkcs7 file and extract the leaf and intermediate certificates using javascript/nodejs, similar to the following openssl command: openssl pkcs7 -print_certs -in certificate.p7b -out…
user4086990
1
2