1

I tried to set up SSL for an JBoss AS 7.1.1 installation on a Ubuntu 12.04 server. I have already generated a private key (.pem) and a certificate signing request (.csr) with openssl, submitted it to a CA and got the signed certificate file (.pem) back.

Now, I tried already different ways how to set up SSL for my JBoss, e.g. after the instructions on https://docs.jboss.org/author/display/AS71/SSL+setup+guide. This looks as follows:

<connector name="https" scheme="https" protocol="HTTP/1.1" socket-binding="https" enable-lookups="false" secure="true"> <ssl name="foo-ssl" password="secret" certificate-key-file="../standalone/configuration/foo.pem" certificate-file="../standalone/configuration/foo-cert.pem"/> 

Unfortunately, during start up of JBoss AS, the following error is thrown and the https connector is not started:

Caused By: LifecycleException: protocol handler initialization failed: java.lang.Exception: Unable to load certificate key .../foo.pem (error: 06074079: digital envelope routines: EVP_PBE_CipherInit: unknown pbe algorithm)

Can anybody help me to solve this error? Thanks in advance!

Greets, Trinity

2
  • Well the error message is pretty clear. Have you tried using the absolute path to the file? If that work, then you can investigate how to use a relative path. Commented Feb 25, 2014 at 13:00
  • The same error comes up if I try it with the absolute path. In my opinion, the error indicates that openssl cannot decrypt the private key or something similar ("unknown pbe alogrithm")....Any further ideas how to solve this problem? Commented Mar 3, 2014 at 7:49

1 Answer 1

1

In the meanwhile I have solved the problem by removing the passphrase from my private key. Seems like openssl did not know how to decrypt my private key in pkcs#8 format....Now, it works.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.