# Comodo E-Mail-Certificate

**URL:** <https://community.ciphermail.com/t/comodo-e-mail-certificate/431>\
**Category:** Gateway\
**Created:** [March 15, 2015, 2:41pm UTC](https://community.ciphermail.com/t/comodo-e-mail-certificate/431 "2015-03-15T14:41:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Markus\_Zimmermann](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@Markus\_Zimmermann](https://community.ciphermail.com/u/Markus_Zimmermann)\
**Post date:** [March 15, 2015, 2:41pm UTC](https://community.ciphermail.com/t/comodo-e-mail-certificate/431/1 "2015-03-15T14:41:02Z")

</div>

Hello,

I bought an E-Mail-Certificate from Comodo, but I am unable to import the key into ciphermail.

I backed up the Certificate in Firefox into a \*.p12-File. If I try to import this file into ciphermail goes into a endless loop "importing". The process doesn't finish even after a long time of waiting. Any help would be appreciated.

Regards, Markus

Mit freundlichen Grüßen

mareco gmbh & co.kg

Dipl.-Ing.(FH)

Markus Zimmermann

Geschäftsführer der Komplementärin

Rothelebuch 7, 87637 Seeg

Tel. +49 (8364) 984009-0

Fax. +49 (8364) 984009-9

E-Mail. info(a)mareco.biz

Internet. www.mareco.biz

Sitz Seeg, HRA8889 Amtsgericht Kempten

Persönlich haftende Gesellschafterin

CRM Verwaltungs-GmbH

Sitz Seeg, HRB9745 Amtsgericht Kempten

Geschäftsführer Markus Zimmermann

> **···**
>

---

<div class="post-metadata">

**Author:** ![martijn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/martijn/32/127_2.png) [@martijn](https://community.ciphermail.com/u/martijn)\
**Post date:** [March 15, 2015, 4:31pm UTC](https://community.ciphermail.com/t/comodo-e-mail-certificate/431/2 "2015-03-15T16:31:10Z")

</div>

Hi Markus,

Can you send me the following log files (directly to me off list):

/var/log/djigzo.log  
/var/log/tomcat6/catalina.out

Kind regards,

Martijn Brinkers

> **···**
>
> On 03/15/2015 03:41 PM, Markus Zimmermann wrote:
> 
> > I bought an E-Mail-Certificate from Comodo, but I am unable to import  
> > the key into ciphermail.
> > 
> > I backed up the Certificate in Firefox into a \*.p12-File. If I try to  
> > import this file into ciphermail goes into a endless loop  
> > "importing". The process doesn't finish even after a long time of  
> > waiting. Any help would be appreciated.
> 
> --  
> CipherMail email encryption
> 
> Open source email encryption gateway with support for S/MIME, OpenPGP  
> and PDF messaging.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)
> 
> --  
> CipherMail email encryption
> 
> Open source email encryption gateway with support for S/MIME, OpenPGP  
> and PDF messaging.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)

---

<div class="post-metadata">

**Author:** ![martijn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/martijn/32/127_2.png) [@martijn](https://community.ciphermail.com/u/martijn)\
**Post date:** [March 17, 2015, 2:05pm UTC](https://community.ciphermail.com/t/comodo-e-mail-certificate/431/3 "2015-03-17T14:05:42Z")

</div>

It turned out this was caused by some loop in the certificate chain  
which was not handled correctly by the library that handles the import  
of certificates (BouncyCastle).

The workaround was to import the p12 (pfx) into Windows and then export  
the key to a new file. This resulted in a pfx file without the incorrect  
chain.

I have filed a bug report for BC:

[http://www.bouncycastle.org/jira/browse/BJB-44?filter=-4](http://www.bouncycastle.org/jira/browse/BJB-44?filter=-4)

Kind regards,

Martijn Brinkers

> **···**
>
> On 03/15/2015 03:41 PM, Markus Zimmermann wrote:
> 
> > Hello,
> > 
> > I bought an E-Mail-Certificate from Comodo, but I am unable to import the key into ciphermail.
> > 
> > I backed up the Certificate in Firefox into a \*.p12-File. If I try to import this file into ciphermail goes into a endless loop "importing". The process doesn't finish even after a long time of waiting. Any help would be appreciated.
> > 
> > Regards, Markus
> > 
> > Mit freundlichen Grüßen
> > 
> > mareco gmbh & co.kg
> > 
> > Dipl.-Ing.(FH)
> > 
> > Markus Zimmermann
> > 
> > Geschäftsführer der Komplementärin
> > 
> > Rothelebuch 7, 87637 Seeg
> > 
> > Tel. +49 (8364) 984009-0
> > 
> > Fax. +49 (8364) 984009-9
> > 
> > E-Mail. info(a)mareco.biz
> > 
> > Internet. www.mareco.biz
> > 
> > Sitz Seeg, HRA8889 Amtsgericht Kempten
> > 
> > Persönlich haftende Gesellschafterin
> > 
> > CRM Verwaltungs-GmbH
> > 
> > Sitz Seeg, HRB9745 Amtsgericht Kempten
> > 
> > Geschäftsführer Markus Zimmermann
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > Users mailing list  
> > Users(a)lists.djigzo.com  
> > [https://lists.djigzo.com/lists/listinfo/users](https://lists.djigzo.com/lists/listinfo/users)
> 
> --  
> CipherMail email encryption
> 
> Open source email encryption gateway with support for S/MIME, OpenPGP  
> and PDF messaging.
> 
> > **[CipherMail email encryption and digital signatures](https://www.ciphermail.com)**
> >
> > Easy to use server-side email encryption for automatic encryption and digital signing of email.
> 
> Twitter: [http://twitter.com/CipherMail](http://twitter.com/CipherMail)
