Hi there,
I have rented a Ubuntu 22.04 VPS at Contabo where:
I have a Wordpress running on https :// example org
I also have a Nextcloud running on https :// nextcloud example org
I also have a mailserver running on https :// mail example org
All these are provided through Apache2, MariaDB and PHP 8.2
I found some helping links [1](https :// syncbricks.com/keycloak-installation-ubuntu-20-04-version-19-step-by-step/) and [here](https :// How to use Let's Encrypt certificates with Keycloak | Pejibaye Blog)
I also was reading the docs but for this particular case I didn’t found a working solution.
So I want to run KeyCloak 23.0.3 bare metal…
Now I want to use KeyCloak to login to these sites. However as this is a Java program I’m not sure if I need a Virtual Host in /etc/apache2/available-sites
this is it:
<VirtualHost *:80>
ServerName auth.example.org
Redirect permanent / https :// example.org)/
</VirtualHost>
<VirtualHost *:443>
ServerName auth.example.org
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/auth.example.org/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/auth.example.org/privkey.pem
ErrorLog ${APACHE_LOG_DIR}/auth.example.org_error.log
CustomLog ${APACHE_LOG_DIR}/auth.example.org_access.log combined
</VirtualHost>
I also have this /opt/keycloak/conf/keycloak.conf file.
https-certificate-file=/etc/letsencrypt/live/auth.example.org.be/cert.pem
https-certificate-key-file=/etc/letsencrypt/live/auth.example.org/privkey.pem
hostname=https :// auth.example.org
https-port=443
http-port=8080
When I do a manual start I see a “Port(s) already bound: 443: Address already in use”
Can somebody please give me an example
Thanks for reading
Guy