@lamalibre/create-portlama 1.0.17 → 1.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lamalibre/create-portlama",
3
- "version": "1.0.17",
3
+ "version": "1.0.19",
4
4
  "description": "One-command setup for secure reverse tunnels with a management dashboard",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -127,6 +127,13 @@ portlama ALL=(root) NOPASSWD: /usr/bin/chmod 600 /etc/portlama/pki/*
127
127
  portlama ALL=(root) NOPASSWD: /usr/bin/chmod 644 /etc/portlama/pki/*
128
128
  portlama ALL=(root) NOPASSWD: /usr/bin/rm -f /etc/portlama/pki/*
129
129
 
130
+ # --- Agent certificates (portlama-owned directory under pki) ---
131
+ portlama ALL=(root) NOPASSWD: /usr/bin/mkdir -p /etc/portlama/pki/agents
132
+ portlama ALL=(root) NOPASSWD: /usr/bin/mkdir -p /etc/portlama/pki/agents/*
133
+ portlama ALL=(root) NOPASSWD: /usr/bin/chown portlama\\:portlama /etc/portlama/pki/agents
134
+ portlama ALL=(root) NOPASSWD: /usr/bin/chown -R portlama\\:portlama /etc/portlama/pki/agents/*
135
+ portlama ALL=(root) NOPASSWD: /usr/bin/rm -rf /etc/portlama/pki/agents/*
136
+
130
137
  # --- nginx vhost file permissions and cleanup ---
131
138
  portlama ALL=(root) NOPASSWD: /usr/bin/chmod 644 /etc/nginx/sites-available/*
132
139
  portlama ALL=(root) NOPASSWD: /usr/bin/rm -f /etc/nginx/sites-available/*
@@ -90,6 +90,7 @@ ssl_verify_client on;
90
90
  # Pass client cert verification status to backend
91
91
  proxy_set_header X-SSL-Client-Verify $ssl_client_verify;
92
92
  proxy_set_header X-SSL-Client-DN $ssl_client_s_dn;
93
+ proxy_set_header X-SSL-Client-Serial $ssl_client_serial;
93
94
 
94
95
  # Standard proxy headers
95
96
  proxy_set_header Host $host;