Both controller and BFC work with https, which in turn uses ssl. SSL was a protocol designed by Netscape to ensure secure communications. It is based upon certificates and it uses asymmetric key encryption. Both the BFC and the Controller use self-signed certificates and keys to ensure communications are kept secure. When the BFC or the controller are installed, these certificate and key files are automatically generated, so that no option is required on the part of the user.
However, in some circumstances it may be necessary to change the self-signed ssl certificate for logging in to the BFC or to the Controller. For instance some customers may want to change the 2048 bit SSL certificate to use a 4096 bit one on security considerations (rsa/sha-1).
We will not go in this document on how to generate these certificates or keys. An overview, as well as a utility to do so may be found in this site. We will assume that both the self-signed certificate and the private key file have already been created by whatever means. In what follows we will describe how to change the BFC and Controller http interfaces to use the new SSL certificates.
The controller web interface is based upon an Apache web server. Its main certificate and key files are kept in the /etc/httpd/conf/ssl.crt and /etc/httpd/conf/ssl.key directories. Within these directories, the actual certificate and key files point to other files in /var/applogic/conf:
In /etc/httpd/conf/ssl.crt: lrwxrwxrwx 1 root root 31 Mar 27 14:11 server.crt -> /var/applogic/conf/applogic.crt In /etc/httpd/conf/ssl.key lrwxrwxrwx 1 root root 31 Mar 27 14:11 server.key -> /var/applogic/conf/applogic.key
Follow these steps:
service httpd stop
service httpd start
The BFC web interface is based upon MochiWeb, which is a lightweight http interface based upon Erlang. As such, the procedure for replacing its root ssl certificate is not so evident. It this needs to be done, please follow these steps:
service bfc stop
cd /opt/bfc/lib/client_interface-0.1/priv
service BFC start
|
Copyright © 2012 CA.
All rights reserved.
|
|