HA SSL Apache webserver and wildcard cert

Hi,
I have a apache webserver that has port 443 forwarded from the router
Have found this guide but Ubuntu 20.04 doesnt use the httpd folder, it har every sites config in the folder sites-enabled.


Ill try to follow that guide to do the reverse proxy.
I also have a wildcard ssl wich is using two “crt” and a “key” file, how should i do with them?
This is the code im using to redirect an other https site!

<VirtualHost *:80>
    ServerName store.xxxx.nu
    ServerAlias store.xxxx.nu
    ProxyPreserveHost On
    ProxyPass / http://192.168.1.19/
    ProxyPassReverse / http://192.168.1.19/
</VirtualHost>

<VirtualHost *:443>
    ServerName store.xxxx.nu
    ServerAlias store.xxxx.nu
    ProxyPreserveHost On
    SSLProxyEngine on
    SSLProxyVerify none
    SSLProxyCheckPeerCN off
    SSLProxyCheckPeerName off
    SSLProxyCheckPeerExpire off
    SSLEngine on
   SSLCertificateFile /home/xxxx/ssl/*.xxxx.nu.crt
   SSLCertificateKeyFile /home/xxxx/ssl/*.xxxx.nu.key
   SSLCACertificateFile /home/xxxx/ssl/AlphaSSLroot.crt
   ProxyPass / https://192.168.1.19/
   ProxyPassReverse / https://192.168.1.19/
</VirtualHost>

Ha is using “pem” files?

This is the code on the other server.

<VirtualHost *:80>
DocumentRoot "/home/xxxx/wordpress_store"
	ServerName store.xxxx.nu
    ServerAlias store.xxxx.nu
<Directory "/home/xxxx/wordpress_store">
	allow from all
	Options None
	Require all granted
</Directory>
  CustomLog ${APACHE_LOG_DIR}/store.xxxx.nu.log combined
  ErrorLog ${APACHE_LOG_DIR}/store.xxxx.nu.error.log
</VirtualHost>
#<VirtualHost *:80>
#ServerName store.xxxx.nu
#Redirect / https://store.xxxx.nu/
#</VirtualHost>

<VirtualHost *:443>

  ServerAdmin [email protected]
  DocumentRoot /home/xxxx/wordpress_store
  ServerName store.xxxx.nu
  ServerAlias store.xxxx.nu
  AddDefaultCharset ISO-8859-1

       <Directory /home/xxxx/wordpress_store>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride All
		allow from all
		Require all granted
       </Directory> 
  SSLEngine on
  SSLCertificateFile /home/xxxx/ssl/*.xxxx.nu.crt
  SSLCertificateKeyFile /home/xxxx/ssl/*.xxxx.nu.key
  SSLCACertificateFile /home/xxxx/ssl/AlphaSSLroot.crt

 
  CustomLog ${APACHE_LOG_DIR}/store.xxxx.nu.log combined
  ErrorLog ${APACHE_LOG_DIR}/store.xxxx.nu.error.log
</VirtualHost>

Got it to work using the example i mentioned earlier, didn’t have to do anything on the ha server…