You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Arnau Rebassa <ar...@gmail.com> on 2018/12/12 11:50:23 UTC
TLS 1.2 problems with Certificate Request
Hi all,
We are using james 3.0.1 configured to use TLS in remote deliveries. The
sending of emails over TLS is working fine but we have problems sending
emails to a particular server which performs a “Certificate Request”. When
this happens, in a tcpdump capture I can see that, James returns an error
Alert (Level: Fatal, Description: Certificate Unknown).
I have been looking into the documentation but I haven’t found the way to
specify a keystore in the mailetcontainer.xml. Is this possible? Anyone
knows how to fix this?
Cheers!
--
Arnau
Re: TLS 1.2 problems with Certificate Request
Posted by Arnau Rebassa <ar...@gmail.com>.
Hi Benoit,
Have you had the change to have a look to the ticket I created (
https://issues.apache.org/jira/browse/JAMES-2631)? Any feedback?
Thank you very much!
On Thu, Dec 13, 2018 at 12:02 PM Arnau Rebassa <ar...@gmail.com> wrote:
> Hi Benoit,
>
> Thanks for your response, I have created the ticket as you requested:
> https://issues.apache.org/jira/browse/JAMES-2631
>
> Cheers!
>
> On Thu, Dec 13, 2018 at 11:44 AM Benoit Tellier <bt...@linagora.com>
> wrote:
>
>> Hi,
>>
>> Attachments are not supported on this ML, can you open a JIRA ticket for
>> your issue here: https://issues.apache.org/jira/browse/JAMES
>>
>> Can you also specify related stack-traces?
>>
>> Cheers,
>>
>> Benoit
>>
>> On 12/13/18 4:14 PM, Arnau Rebassa wrote:
>> > Hi Benoit,
>> >
>> > On Thu, Dec 13, 2018 at 9:21 AM Benoit Tellier <btellier@linagora.com
>> > <ma...@linagora.com>> wrote:
>> >
>> > Hi Arnau,
>> >
>> > To be clear, you "Sends mail to a server with custom certificate"?
>> >
>> >
>> > As I understand it James rejects the certificate as it is not
>> signed by
>> > any certification authorities, and you wish James to trust that
>> > certificate. Can you confirm it?
>> >
>> >
>> > No, their certificate is issued by a well know CA. In the following
>> > picture you can see as the remote server requests a “Certificate
>> > request” to the client (in this case to James).
>> >
>> > server_request.png
>> >
>> > And in the next capture you can see how James sends a Fatal alert.
>> >
>> > james_response.png
>> > I hope now the scenario is clearer. Any ideas how to fix this?
>> >
>> > Cheers!!
>> > --
>> > Arnau
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>>
>
> --
> Arnau
>
--
Arnau
Re: TLS 1.2 problems with Certificate Request
Posted by Arnau Rebassa <ar...@gmail.com>.
Hi Benoit,
Thanks for your response, I have created the ticket as you requested:
https://issues.apache.org/jira/browse/JAMES-2631
Cheers!
On Thu, Dec 13, 2018 at 11:44 AM Benoit Tellier <bt...@linagora.com>
wrote:
> Hi,
>
> Attachments are not supported on this ML, can you open a JIRA ticket for
> your issue here: https://issues.apache.org/jira/browse/JAMES
>
> Can you also specify related stack-traces?
>
> Cheers,
>
> Benoit
>
> On 12/13/18 4:14 PM, Arnau Rebassa wrote:
> > Hi Benoit,
> >
> > On Thu, Dec 13, 2018 at 9:21 AM Benoit Tellier <btellier@linagora.com
> > <ma...@linagora.com>> wrote:
> >
> > Hi Arnau,
> >
> > To be clear, you "Sends mail to a server with custom certificate"?
> >
> >
> > As I understand it James rejects the certificate as it is not signed
> by
> > any certification authorities, and you wish James to trust that
> > certificate. Can you confirm it?
> >
> >
> > No, their certificate is issued by a well know CA. In the following
> > picture you can see as the remote server requests a “Certificate
> > request” to the client (in this case to James).
> >
> > server_request.png
> >
> > And in the next capture you can see how James sends a Fatal alert.
> >
> > james_response.png
> > I hope now the scenario is clearer. Any ideas how to fix this?
> >
> > Cheers!!
> > --
> > Arnau
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
--
Arnau
Re: TLS 1.2 problems with Certificate Request
Posted by Benoit Tellier <bt...@linagora.com>.
Hi,
Attachments are not supported on this ML, can you open a JIRA ticket for
your issue here: https://issues.apache.org/jira/browse/JAMES
Can you also specify related stack-traces?
Cheers,
Benoit
On 12/13/18 4:14 PM, Arnau Rebassa wrote:
> Hi Benoit,
>
> On Thu, Dec 13, 2018 at 9:21 AM Benoit Tellier <btellier@linagora.com
> <ma...@linagora.com>> wrote:
>
> Hi Arnau,
>
> To be clear, you "Sends mail to a server with custom certificate"?
>
>
> As I understand it James rejects the certificate as it is not signed by
> any certification authorities, and you wish James to trust that
> certificate. Can you confirm it?
>
>
> No, their certificate is issued by a well know CA. In the following
> picture you can see as the remote server requests a “Certificate
> request” to the client (in this case to James).
>
> server_request.png
>
> And in the next capture you can see how James sends a Fatal alert.
>
> james_response.png
> I hope now the scenario is clearer. Any ideas how to fix this?
>
> Cheers!!
> --
> Arnau
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: TLS 1.2 problems with Certificate Request
Posted by Arnau Rebassa <ar...@gmail.com>.
Hi Benoit,
On Thu, Dec 13, 2018 at 9:21 AM Benoit Tellier <bt...@linagora.com>
wrote:
> Hi Arnau,
>
> To be clear, you "Sends mail to a server with custom certificate"?
> As I understand it James rejects the certificate as it is not signed by
> any certification authorities, and you wish James to trust that
> certificate. Can you confirm it?
>
No, their certificate is issued by a well know CA. In the following picture
you can see as the remote server requests a “Certificate request” to the
client (in this case to James).
[image: server_request.png]
And in the next capture you can see how James sends a Fatal alert.
[image: james_response.png]
I hope now the scenario is clearer. Any ideas how to fix this?
Cheers!!
--
Arnau
Re: TLS 1.2 problems with Certificate Request
Posted by Benoit Tellier <bt...@linagora.com>.
Hi Arnau,
To be clear, you "Sends mail to a server with custom certificate"?
As I understand it James rejects the certificate as it is not signed by
any certification authorities, and you wish James to trust that
certificate. Can you confirm it?
James uses javax.mail library to send emails to another server, using
the sun implementation (tps://javaee.github.io/javamail/). I imagine
some configuration can be performed at that level...
See
https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package-summary.html
mail.smtp.ssl.checkserveridentity might be related.
You can pass additional "mail." properties to RemoteDelivery configuration.
Example:
<mailet matcher="All" class="RemoteDelivery">
...
<mail.smtp.userset>true</mail.smtp.userset>
...
</mailet>
This may help you.
Cheers,
Benoit Tellier
On 12/12/18 6:50 PM, Arnau Rebassa wrote:
> Hi all,
>
> We are using james 3.0.1 configured to use TLS in remote deliveries. The
> sending of emails over TLS is working fine but we have problems sending
> emails to a particular server which performs a “Certificate Request”. When
> this happens, in a tcpdump capture I can see that, James returns an error
> Alert (Level: Fatal, Description: Certificate Unknown).
>
> I have been looking into the documentation but I haven’t found the way to
> specify a keystore in the mailetcontainer.xml. Is this possible? Anyone
> knows how to fix this?
>
> Cheers!
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org