Import CA certificates

Hi,

I've found no way to batch import CA certificates. Is there a way to do
this on the command line?

TIA
Matthias

···

--

MHC SoftWare GmbH
Fichtera 17
96274 Itzgrund/Germany

voice: +49-(0)9533-92006-0
fax: +49-(0)9533-92006-6
e-mail: info(a)mhcsoftware.de

HR Coburg: B2242
Geschäftsführer: Matthias Henze

Zitat von Matthias Henze <lists(a)mhcsoftware.de>:

Hi,

I've found no way to batch import CA certificates. Is there a way to
do this on the command line?

TIA
Matthias

With the correct format (.p7b) you can import many root CAs at once. A
collection commonly used is here for example:

But of course you should check *your* trust in these CAs.

Regards

Andreas

You can import a p7b (pkcs7) file. A p7b file can contain multiple
certificates. I think you can also import a concatenated list of PEM
certificates.

On the command line you can use the following to import a cert

cat SOMECERTIFICATE | java -cp djigzo.jar
mitm.application.djigzo.tools.CertManager -cer -import

Note: the above command should be ran from the djigzo dir

Kind regards,

Martijn Brinkers

···

On 16-03-16 16:29, Matthias Henze wrote:

I've found no way to batch import CA certificates. Is there a way to do
this on the command line?

--
CipherMail email encryption

Email encryption with support for S/MIME, OpenPGP, PDF encryption and
secure webmail pull.

Twitter: http://twitter.com/CipherMail

Thanks.

Stupid me ... cating a bunch of certs in PEM format in one file an just
import it. That easy ...

···

Am 16.03.2016 um 16:50 schrieb Martijn Brinkers:

On 16-03-16 16:29, Matthias Henze wrote:

I've found no way to batch import CA certificates. Is there a way to do
this on the command line?

You can import a p7b (pkcs7) file. A p7b file can contain multiple
certificates. I think you can also import a concatenated list of PEM
certificates.

On the command line you can use the following to import a cert

cat SOMECERTIFICATE | java -cp djigzo.jar
mitm.application.djigzo.tools.CertManager -cer -import

Note: the above command should be ran from the djigzo dir

Kind regards,

Martijn Brinkers

--

MHC SoftWare GmbH
Fichtera 17
96274 Itzgrund/Germany

voice: +49-(0)9533-92006-0
fax: +49-(0)9533-92006-6
e-mail: info(a)mhcsoftware.de

HR Coburg: B2242
Geschäftsführer: Matthias Henze