[ 
https://issues.apache.org/jira/browse/TS-2893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14054517#comment-14054517
 ] 

Wei Sun commented on TS-2893:
-----------------------------

The certificate is able to be loaded with the below fix, others look good to me.
{code}
diff --git a/iocore/net/SSLUtils.cc b/iocore/net/SSLUtils.cc
index 3546219..1c81686 100644
--- a/iocore/net/SSLUtils.cc
+++ b/iocore/net/SSLUtils.cc
@@ -972,7 +972,7 @@ SSLInitServerContext(
   }
 
   if (!params->serverCertChainFilename && !sslMultCertSettings.ca && 
sslMultCertSettings.cert) {
-    SimpleTokenizer cert_tok(sslMultCertSettings.cert, 
SSL_CERT_SEPARATE_DELIM);
+    SimpleTokenizer cert_tok((char *)(const char *)sslMultCertSettings.cert, 
SSL_CERT_SEPARATE_DELIM);
     SimpleTokenizer key_tok((char *)(sslMultCertSettings.key ? (const char 
*)sslMultCertSettings.key : ats_strdup("")), SSL_CERT_SEPARATE_DELIM);
 
     if (sslMultCertSettings.key && cert_tok.getNumTokensRemaining() != 
key_tok.getNumTokensRemaining()) {
{code}

> Add support for ECDSA certificates 
> -----------------------------------
>
>                 Key: TS-2893
>                 URL: https://issues.apache.org/jira/browse/TS-2893
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: SSL
>            Reporter: Bryan Call
>            Assignee: James Peach
>              Labels: yahoo
>             Fix For: 5.1.0
>
>         Attachments: TS-2893.diff, TS-2893_2.diff
>
>
> Add the ability to deliver different certificates to the client depending on 
> the cipher list advertised by the client.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to