View | Details | Raw Unified | Return to bug 50927
Collapse All | Expand All

(-)java/org/apache/tomcat/util/net/AprEndpoint.java (+3 lines)
Lines 493-498 Link Here
493
            }
493
            }
494
            // List the ciphers that the client is permitted to negotiate
494
            // List the ciphers that the client is permitted to negotiate
495
            SSLContext.setCipherSuite(sslContext, SSLCipherSuite);
495
            SSLContext.setCipherSuite(sslContext, SSLCipherSuite);
496
            if (SSLCertificateFile == null){ // Check here so can give specific error message
497
                throw new Exception("Connector attribute SSLCertificateFile must be defined when using SSL with APR");
498
            }
496
            // Load Server key and certificate
499
            // Load Server key and certificate
497
            SSLContext.setCertificate(sslContext, SSLCertificateFile, SSLCertificateKeyFile, SSLPassword, SSL.SSL_AIDX_RSA);
500
            SSLContext.setCertificate(sslContext, SSLCertificateFile, SSLCertificateKeyFile, SSLPassword, SSL.SSL_AIDX_RSA);
498
            // Set certificate chain file
501
            // Set certificate chain file

Return to bug 50927