OpenClaw HTTPS Setup for Openclaw

A comprehensive automation skill for securing OpenClaw Gateway instances with production-grade HTTPS via Nginx reverse proxy and Let's Encrypt SSL certificates.

nanue1
v1.0.0
Apr 1, 2026
0
702
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install openclaw-https-setup

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install openclaw-https-setup using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is OpenClaw HTTPS Setup?

The openclaw-https-setup skill is a specialized deployment utility designed to transition OpenClaw Gateway services from insecure local connections to production-ready, encrypted public endpoints. By automating the integration of Nginx as a reverse proxy, this Openclaw Skills contribution ensures that your AI agent gateway is protected by modern encryption standards.

This skill handles the heavy lifting of server-side configuration, including SELinux policy adjustments, WebSocket support for real-time agent communication, and the implementation of security headers like HSTS. It provides a robust bridge between your local OpenClaw service and the public internet, ensuring data integrity and user privacy through automated SSL/TLS management.

OpenClaw HTTPS Setup Use Cases

  • Deploying OpenClaw Gateway to a public VPS for remote access.
  • Securing AI agent communication channels with TLS/SSL encryption.
  • Implementing a custom domain name for professional Openclaw Skills environments.
  • Migrating from HTTP to HTTPS to meet modern web security compliance requirements.

How OpenClaw HTTPS Setup Works

  1. The skill initiates by installing Nginx on the target VPS (supporting both RHEL/CentOS and Debian/Ubuntu families).
  2. It configures system-level permissions, such as SELinux network connect booleans, to allow the proxy to communicate with the local gateway.
  3. An initial HTTP server block is established to facilitate domain validation.
  4. Certbot is utilized to negotiate with Let's Encrypt for a valid SSL certificate via the standalone or Nginx plugin method.
  5. The Nginx configuration is automatically upgraded to enforce HTTPS redirects and apply optimized SSL ciphers.
  6. A background cron job is scheduled to ensure certificates are renewed before expiration without manual intervention.

OpenClaw HTTPS Setup Setup

To begin the secure deployment, ensure your domain points to your VPS IP and run the following as a user with sudo privileges:

# Install Nginx and Certbot (CentOS example)
sudo dnf install -y nginx certbot python3-certbot-nginx

# Enable network connectivity for the proxy
sudo setsebool -P httpd_can_network_connect 1

# Deploy the configuration template for Openclaw Skills
sudo nano /etc/nginx/conf.d/openclaw.conf

OpenClaw HTTPS Setup Data Schema & Taxonomy

The skill manages configuration files and security certificates across the system as follows:

Path Purpose Type
/etc/nginx/conf.d/openclaw.conf Reverse proxy and SSL server block definitions Configuration
/etc/letsencrypt/live/ Storage for fullchain.pem and privkey.pem SSL Certificates
/var/log/nginx/error.log Monitoring and troubleshooting logs System Logs
/etc/crontab Automated renewal scheduling Task Schedule

OpenClaw HTTPS Setup Advanced Features

  • Full WebSocket (WSS) support to ensure persistent connections for streaming AI responses.
  • HSTS (HTTP Strict Transport Security) preloading to prevent protocol downgrade attacks.
  • Hardened SSL protocols (TLSv1.2 and TLSv1.3 only) to eliminate deprecated cryptographic vulnerabilities.
  • Automatic non-interactive SSL renewal integration for zero-maintenance security.
  • Granular proxy timeout settings optimized for long-running LLM inference tasks.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*