While installing Virtuoso Universal Server's open source edition in Ubuntu 8.04 I faced the following problem when I ran the configure utility:
checking validity of the OpenSSL headers in /usr... configure: error: bad. Check config.log for details
The solution is to install libssl-dev which can be done as root as the following:
apt-get install libssl-dev
Then I ran make and make install without any problem.