Setting up SSL on Apache Server
To ensure secure communication between Codebeamer and client applications, you can set up SSL on the Apache HTTP server. The following steps guide you through installing the necessary packages, configuring the server name, and setting up Apache as a secure reverse proxy using SSL certificates:
1. Install httpd.
sudo yum -y install httpd
2. Install mod_ssl.
sudo yum -y install httpd mod_ssl
3. Set ServerName.
sudo echo 'ServerName codebeamer' >> /etc/httpd/conf/httpd.conf
4. Configure the proxy.
Create a configuration file using a text editor, for example:
sudo vi /etc/httpd/conf.d/default-site.conf
Add the following content. Replace the placeholders as follows:
URL_OF_Codebeamer: Replace with the URL of the Codebeamer instance you want to use.
DOMAIN: Replace with the public domain of Codebeamer. For example, Codebeamer.com.
/path/of/certfile: Replace with the actual path to your SSL certificate file.
/path/of/keyfile: Replace with the actual path to your private key file.
<VirtualHost *:80>

SSLEngine on

SSLProxyEngine on



SSLCertificateFile /path/of/certfile

SSLCertificateKeyFile /path/of/keyfile



RewriteEngine on

RewriteCond %{HTTP:Upgrade} websocket [NC]

RewriteCond %{HTTP:Connection} upgrade [NC]

RewriteRule .* "ws://URL_OF_CODEbeamer%{REQUEST_URI}" [P]



ProxyPreserveHost On

ProxyPass / URL_OF_CODEbeamer retry=1 acquire=3000 timeout=600 keepalive=On

ProxyPassReverse / URL_OF_CODEbeamer



RequestHeader set Host DOMAIN

</VirtualHost>
Was this helpful?