When starting Apache, used to have the following warning message in
'/var/log/httpd-error.log':

[Sat Mar 24 08:42:11 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Mar 24 08:42:14 2007] [notice] Digest: generating secret for digest authentication ...
[Sat Mar 24 08:42:14 2007] [notice] Digest: done
[Sat Mar 24 08:42:15 2007] [notice] Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.
2.1 with Suhosin-Patch configured -- resuming normal operations

In spite of 'resuming normal operations', SSL was not working. To have it enable,
in directory '/usr/local/etc/apache22', executed following commands:
#openssl req -new > server.csr
#openssl rsa -in privkey.pem -out server.key
#openssl x509 -in server.csr -out server.crt -req -signkey server.key -days 365
Then checked that SSL was running as follows:
%sockstat -4l
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
www httpd 611 3 tcp46 *:80 *:*
www httpd 611 4 tcp4 *:* *:*
www httpd 611 5 tcp46 *:443 *:*
www httpd 611 6 tcp4 *:* *:*
www httpd 610 3 tcp46 *:80 *:*
www httpd 610 4 tcp4 *:* *:*
www httpd 610 5 tcp46 *:443 *:*
www httpd 610 6 tcp4 *:* *:*
www httpd 609 3 tcp46 *:80 *:*
www httpd 609 4 tcp4 *:* *:*
www httpd 609 5 tcp46 *:443 *:*
www httpd 609 6 tcp4 *:* *:*
www httpd 608 3 tcp46 *:80 *:*
www httpd 608 4 tcp4 *:* *:*
www httpd 608 5 tcp46 *:443 *:*
www httpd 608 6 tcp4 *:* *:*
www httpd 607 3 tcp46 *:80 *:*
www httpd 607 4 tcp4 *:* *:*
www httpd 607 5 tcp46 *:443 *:*
www httpd 607 6 tcp4 *:* *:*
root httpd 606 3 tcp46 *:80 *:*
root httpd 606 4 tcp4 *:* *:*
root httpd 606 5 tcp46 *:443 *:*
root httpd 606 6 tcp4 *:* *:*
root sshd 504 4 tcp4 *:22 *:*
root sendmail 459 3 tcp4 127.0.0.1:25 *:*
root syslogd 362 7 udp4 *:514 *:*
%
The browser pointing at 'https://localhost' shows the padlock closed.

'/var/log/httpd-error.log' shows the following:
[Sat Mar 24 18:13:35 2007] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Sat Mar 24 18:13:37 2007] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Sat Mar 24 18:13:37 2007] [notice] Digest: generating secret for digest authentication ...
[Sat Mar 24 18:13:37 2007] [notice] Digest: done
[Sat Mar 24 18:13:38 2007] [notice] Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.2.1 with Suhosin-Patch configured -- resuming normal operations

To get rid of the warning message, besides 'localhost', tried different CNs:
'127.0.0.1', 'jove', 'jove.discovery.local', but to no avail.

How can I get rid of the warning message?

Thanks for any hint in the right direction.

-- Julio