diff --git a/TODO.md b/TODO.md
index af201b3..33713b9 100644
--- a/TODO.md
+++ b/TODO.md
@@ -2,6 +2,7 @@
## Goals
- [X] Configure a tunnel in the "road warrior"
-- [ ] Enable two factor authentication with OpenSSL and Apache services
-- [ ] Manage PKI: certification authorities, X.509 certificates, revocation and OCSP.
+- [X] Enable two factor authentication with OpenSSL and Apache services
+- [X] Manage PKI: certification authorities, X.509 certificates, revocation and OCSP.
+
diff --git a/VM_OPENSSL_APACHE.sh b/VM_OPENSSL_APACHE.sh
index 2b60fba..6da4c76 100644
--- a/VM_OPENSSL_APACHE.sh
+++ b/VM_OPENSSL_APACHE.sh
@@ -40,7 +40,15 @@ mkdir -p /etc/systemd/system/httpd.service.d
echo -e "[Service]\nProtectHome=false" > /etc/systemd/system/httpd.service.d/override.conf
systemctl daemon-reload
-# serviço !!!
+# sim, é preciso fazer isto para carregar serviços
+echo "LoadModule session_module modules/mod_session.so" > /etc/httpd/conf.modules.d/01-session.conf
+echo "LoadModule session_cookie_module modules/mod_session_cookie.so" >> /etc/httpd/conf.modules.d/01-session.conf
+echo "LoadModule auth_form_module modules/mod_auth_form.so" > /etc/httpd/conf.modules.d/01-auth_form.conf
+
+# mega paginas webs
+cp -r www/* /var/www/html/
+chown -R apache:apache /var/www/html/
+
systemctl enable --now httpd
# acho ?????
diff --git a/conf/ssl.conf b/conf/ssl.conf
index e91ad41..060f7be 100644
--- a/conf/ssl.conf
+++ b/conf/ssl.conf
@@ -18,12 +18,40 @@ Listen 443 https
SSLOCSPOverrideResponder on
SSLOCSPUseRequestNonce off
- # PAM + TOTP Authentication
+ # Session management for Form Auth
+ Session On
+ SessionCookieName session path=/;HttpOnly;Secure
+
+ # Protected Area
Welcome to the Coimbra VPN Internal Network. Your identity has been verified via Client Certificate and Two-Factor Authentication (TOTP).
+ + Logout Session +Enter your UNIX credentials and TOTP code
+