diff --git a/security/stunnel/src/opnsense/mvc/app/controllers/OPNsense/Stunnel/forms/general.xml b/security/stunnel/src/opnsense/mvc/app/controllers/OPNsense/Stunnel/forms/general.xml
index 958e5a830a..703c34372f 100644
--- a/security/stunnel/src/opnsense/mvc/app/controllers/OPNsense/Stunnel/forms/general.xml
+++ b/security/stunnel/src/opnsense/mvc/app/controllers/OPNsense/Stunnel/forms/general.xml
@@ -18,4 +18,10 @@
firewall (allowed by default).
+
+ stunnel.general.enable_oscp
+
+ checkbox
+ Validate peer certificates using OCSP responders from their AIA extension. Enable if you need strict certificate revocation checking.
+
diff --git a/security/stunnel/src/opnsense/mvc/app/models/OPNsense/Stunnel/Stunnel.xml b/security/stunnel/src/opnsense/mvc/app/models/OPNsense/Stunnel/Stunnel.xml
index 0b851ec5d0..a4abce6290 100644
--- a/security/stunnel/src/opnsense/mvc/app/models/OPNsense/Stunnel/Stunnel.xml
+++ b/security/stunnel/src/opnsense/mvc/app/models/OPNsense/Stunnel/Stunnel.xml
@@ -1,6 +1,6 @@
//OPNsense/Stunnel
- 1.0.4
+ 1.0.5
Stunnel TLS encryption proxy
@@ -18,6 +18,10 @@
0
Y
+
+ 0
+ Y
+
@@ -47,11 +51,18 @@
+ CIFS
+ CAPWIN
+ CAPWINCTRL
+ CONNECT
IMAP
LDAP
NNTP
+ PGSQL
POP3
+ PROXY
SMTP
+ SOCKS
N
diff --git a/security/stunnel/src/opnsense/service/conf/actions.d/actions_stunnel.conf b/security/stunnel/src/opnsense/service/conf/actions.d/actions_stunnel.conf
index 142f0d18a7..fa18547e6d 100644
--- a/security/stunnel/src/opnsense/service/conf/actions.d/actions_stunnel.conf
+++ b/security/stunnel/src/opnsense/service/conf/actions.d/actions_stunnel.conf
@@ -36,7 +36,7 @@ message:stunnel service restart
description:Restart Stunnel
[status]
-command:/usr/local/etc/rc.d/stunnel status; /usr/local/etc/rc.d/identd_stunnel onestatus; exit 0
+command:/usr/local/etc/rc.d/stunnel status; exit 0
parameters:
type:script_output
message:stunnel status
diff --git a/security/stunnel/src/opnsense/service/templates/OPNsense/Stunnel/stunnel.conf b/security/stunnel/src/opnsense/service/templates/OPNsense/Stunnel/stunnel.conf
index 0d6590d383..5c1ace1704 100644
--- a/security/stunnel/src/opnsense/service/templates/OPNsense/Stunnel/stunnel.conf
+++ b/security/stunnel/src/opnsense/service/templates/OPNsense/Stunnel/stunnel.conf
@@ -6,7 +6,11 @@ chroot = /var/run/stunnel
pid = {% if helpers.empty('OPNsense.Stunnel.general.chroot') %}/var/run/stunnel{% endif %}/stunnel.pid
debug = info
logId = unique
-
+{% if helpers.empty('OPNsense.Stunnel.general.enable_oscp') %}
+OCSPaia = no
+{% else %}
+OCSPaia = yes
+{% endif %}
{% if helpers.exists('OPNsense.Stunnel.services.service') %}
{% for service in helpers.toList('OPNsense.Stunnel.services.service') %}