nself cli v0.3.5
⏺ nself v0.3.5 - Complete SSL/HTTPS Support 🔒
Release Date: August 15, 2025Major Features: SSL/HTTPS, 100% Service Reliability, Smart Port Allocation
🚀 What's New
🔒 Complete SSL/HTTPS Support
- Automatic SSL certificates using mkcert for development environments
- Dual domain support: *.localhost and *.local.nself.org patterns
- Green lock compatibility - no browser warnings or manual certificate installation
- HTTP to HTTPS redirect for all services
- Modern TLS configuration with secure cipher suites and protocols
📈 100% Service Reliability Achievement
- 17/17 services now run successfully every time
- Fixed critical volume mount issues that were breaking Node.js services
- Eliminated "Cannot find module" errors in NestJS, BullMQ, and Functions
- Enhanced auto-recovery and health monitoring
🎯 Smart Port Allocation
- Reserved 3000-3099 exclusively for user frontend applications
- System services moved to 3100+ range to eliminate conflicts
- Intelligent port management prevents startup failures
✨ Key Features
🔐 SSL Certificate Management
Automatically trust certificates in system
nself trust
Certificates generated during build
nself build # Creates SSL certs for both domain patterns
🌐 Development URLs (HTTPS)
- GraphQL API: https://api.local.nself.org
- Authentication: https://auth.local.nself.org
- Storage: https://storage.local.nself.org
- Functions: https://functions.local.nself.org
- Dashboard: https://dashboard.local.nself.org
🛠 Enhanced Developer Experience
- Zero configuration SSL setup
- Green lock icons in all major browsers
- Seamless HTTPS development workflow
- No manual certificate installation required
🔧 Technical Improvements
Volume Mount Strategy
- Source-only mounting preserves container dependencies
- Node.js services maintain installed node_modules
- Development hot-reload without breaking builds
Service Architecture
- Nginx upstream conflicts resolved
- SSL certificate domain-specific selection
- Health checks without external command dependencies
- Container restart loop elimination
Auto-Fix Enhancements
- SSL-aware error detection and recovery
- Certificate validation and regeneration
- Service health monitoring improvements
📋 What's Fixed
🔴 Critical Issues Resolved
- Volume mounts no longer overwrite node_modules directories
- SSL certificates have proper Subject Alternative Name (SAN) configuration
- Nginx configuration conflicts causing restart loops
- Port conflicts between user applications and system services
🟡 Service Reliability
- Docker health checks now work across all environments
- Service startup reliability improved from 76% to 100%
- Container networking issues resolved
- SSL termination working correctly for all services
🚀 Quick Start with v0.3.5
1. Install or update nself
curl -fsSL https://raw.githubusercontent.com/acamarata/nself/main/install.sh | bash
2. Create project
mkdir my-backend && cd my-backend
3. Initialize with HTTPS support
nself init
4. Build with SSL certificates
nself build
5. Trust certificates (one-time setup)
nself trust
6. Launch with HTTPS
nself up
Your backend is now running with HTTPS and green locks! 🔒✨
🎯 Browser Testing
Test these URLs in your browser - you should see green lock icons:
- https://api.local.nself.org - GraphQL API
- https://auth.local.nself.org - Authentication
- https://storage.local.nself.org - File Storage
Expected: Green lock, "Connection is secure", no certificate warnings
📊 Reliability Metrics
| Metric | v0.3.4 | v0.3.5 | Improvement |
|---|---|---|---|
| Service Success Rate | ~76% | 100% | +24% |
| SSL Support | None | Full HTTPS | +100% |
| Port Conflicts | Common | Eliminated | +100% |
| Volume Mount Issues | Critical | Resolved | +100% |
| Browser Warnings | Always | None | +100% |
🔄 Upgrade Path
From v0.3.4 or earlier:
Update nself
nself update
In existing projects, rebuild for SSL
nself build
nself trust # One-time certificate installation
nself up
New installations:
Fresh install gets v0.3.5 automatically
curl -fsSL https://raw.githubusercontent.com/acamarata/nself/main/install.sh | bash
🛡️ Security Enhancements
- mkcert certificates for secure local development
- Modern TLS protocols (TLS 1.2, TLS 1.3)
- Secure cipher suites and certificate validation
- Automatic HTTPS redirects prevent insecure connections
- System trust integration for seamless browser experience
🙏 What's Next
v0.3.5 delivers production-ready SSL/HTTPS support with exceptional reliability. Future releases will focus on:
- Enhanced monitoring and observability
- Additional deployment targets
- Performance optimizations
- Extended microservices support
Download now and experience the most reliable nself CLI yet - now with complete HTTPS support! 🚀🔒
See https://github.com/acamarata/nself/blob/main/docs/CHANGELOG.md#035---2025-08-15 for complete technical
details.