@furiozia here is an example of working apache configuration:
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerAdmin webmaster@localhost
ServerName www.passbolt.test
DocumentRoot /var/www/passbolt/webroot
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/passbolt.crt
SSLCertificateKeyFile /etc/apache2/ssl/passbolt.key
<FilesMatch "\.(php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory /var/www/passbolt/webroot>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
</IfModule>
As garrett mentinned you need to have mod rewrite
enabled.