Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed (long time ago) Apache server on Ubuntu 12.04. How could I know the Openssl version my server is using ?

share|improve this question
up vote 1 down vote accepted

Go to your terminal and type openssl after that a prompt will come up and just type in version. The OpenSSL version should print to the console.

share|improve this answer
but is not that the version of openssl installed on my computer and which has nothing to do with Apache 2 that has maybe an embedded independant openssl version – user284234 May 3 '14 at 16:10
Did this answer work for you, then? Sorry; I was a bit confused with your question at first. – Noah Buscher May 8 '14 at 2:06
yes, thank you. You must be here instead of being on Facebook: at least here you can be useful for the humankind :) – user284234 May 8 '14 at 15:42

Try this command,

apt-cache policy openssl

To get the installed openssl version only, then run the below command

apt-cache policy openssl | awk '/Installed:/ {print $2}'
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.