{"id":49565333,"url":"https://github.com/sapsan14/ejbca-lab","last_synced_at":"2026-05-03T11:34:07.493Z","repository":{"id":319296369,"uuid":"1078260937","full_name":"sapsan14/ejbca-lab","owner":"sapsan14","description":"🔐 Enterprise-grade EJBCA PKI installation laboratory featuring three deployment methods: manual installation on Ubuntu with MariaDB \u0026 SoftHSM2, containerized deployment with Docker/Podman, and automated cloud infrastructure on Google Cloud Platform using Terraform. Includes complete documentation, configuration files, and troubleshooting guides.","archived":false,"fork":false,"pushed_at":"2025-11-05T07:44:24.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-05T09:19:53.679Z","etag":null,"topics":["docker","ejbca","google-cloud","mariadb","softhsm","terraform","ubuntu","wildfly"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sapsan14.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-17T13:03:57.000Z","updated_at":"2025-11-05T07:46:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"c6c12cf8-602d-4532-841a-df092af8ab16","html_url":"https://github.com/sapsan14/ejbca-lab","commit_stats":null,"previous_names":["sapsan14/ejbca-lab"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sapsan14/ejbca-lab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapsan14%2Fejbca-lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapsan14%2Fejbca-lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapsan14%2Fejbca-lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapsan14%2Fejbca-lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sapsan14","download_url":"https://codeload.github.com/sapsan14/ejbca-lab/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapsan14%2Fejbca-lab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32567417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","ejbca","google-cloud","mariadb","softhsm","terraform","ubuntu","wildfly"],"created_at":"2026-05-03T11:34:06.829Z","updated_at":"2026-05-03T11:34:07.487Z","avatar_url":"https://github.com/sapsan14.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EJBCA Installation Lab\r\n\r\nA comprehensive laboratory project for installing and deploying **EJBCA (Enterprise JavaBeans Certificate Authority)** using various methods and deployment scenarios.\r\n\r\n## 📋 Overview\r\n\r\nThis lab provides step-by-step instructions and configurations for deploying EJBCA, a full-featured PKI (Public Key Infrastructure) solution, using multiple installation methods:\r\n\r\n- 🖥️ **Manual Installation** - Traditional installation on Ubuntu with MariaDB and SoftHSM\r\n- 🐳 **Container Deployment** - Docker/Podman-based deployment with docker-compose\r\n- ☁️ **Cloud Deployment** - Automated deployment on Google Cloud Platform using Terraform\r\n\r\n## 🎯 What is EJBCA?\r\n\r\nEJBCA is an enterprise-grade Certificate Authority (CA) software that provides:\r\n- Certificate lifecycle management\r\n- Multiple certificate profiles (SSL/TLS, code signing, S/MIME, etc.)\r\n- Support for Hardware Security Modules (HSM)\r\n- Web-based administration interface\r\n- REST API for automation\r\n- eIDAS compliance support\r\n\r\n## 📚 Installation Methods\r\n\r\n### 1. Manual Installation\r\n**Location:** [`manual-installation/`](manual-installation/)\r\n\r\nComplete manual installation guide for EJBCA 9.2.0 on Ubuntu with:\r\n- OpenJDK 17\r\n- WildFly 35.0.1.Final\r\n- MariaDB 10.11\r\n- SoftHSM2 for hardware token simulation\r\n\r\n**Best for:** Learning the installation process, custom configurations, production deployments\r\n\r\n[→ View Manual Installation Guide](manual-installation/README.md)\r\n\r\n### 2. Container Deployment (Docker/Podman)\r\n**Location:** [`docker-podman/`](docker-podman/)\r\n\r\nQuick deployment using containers with docker-compose:\r\n- MariaDB 10.11 database container\r\n- EJBCA Community Edition container\r\n- Automatic health checks\r\n- Persistent data volumes\r\n\r\n**Best for:** Development, testing, quick deployments, local labs\r\n\r\n[→ View Container Deployment Guide](docker-podman/README.md)\r\n\r\n### 3. Cloud Deployment (Google Cloud Platform)\r\n**Location:** [`terraform-lab/`](terraform-lab/)\r\n\r\nAutomated infrastructure deployment on GCP using Terraform:\r\n- VM instance with automatic setup\r\n- Static IP reservation\r\n- Firewall rules configuration\r\n- Optional reverse proxy with Caddy\r\n- Support for both EJBCA and Smallstep CA\r\n\r\n**Best for:** Cloud deployments, scalable infrastructure, infrastructure as code\r\n\r\n[→ View Terraform Deployment Guide](terraform-lab/README.md)\r\n\r\n## 🚀 Quick Start\r\n\r\n### Prerequisites\r\n\r\n- **For Manual Installation:** Ubuntu 22.04+, root/sudo access\r\n- **For Container Deployment:** Docker or Podman, docker-compose\r\n- **For Cloud Deployment:** Google Cloud account, Terraform, gcloud CLI\r\n\r\n### Choose Your Method\r\n\r\n1. **Quick local testing:** Use [Container Deployment](docker-podman/)\r\n2. **Learning EJBCA internals:** Use [Manual Installation](manual-installation/)\r\n3. **Production-like cloud setup:** Use [Terraform Deployment](terraform-lab/)\r\n\r\n## 📖 Version Information\r\n\r\n- **EJBCA Version:** 9.2.0 (EE with eIDAS support)\r\n- **WildFly Version:** 35.0.1.Final\r\n- **Java Version:** OpenJDK 17\r\n- **Database:** MariaDB 10.11\r\n- **Container Image:** `primekey/ejbca-ce:latest`\r\n\r\n## 🔐 Security Notes\r\n\r\n⚠️ **Important Security Considerations:**\r\n\r\n- All default passwords in this lab are for **testing purposes only**\r\n- **Change all default credentials** before deploying to production\r\n- Use strong passwords for database and EJBCA admin accounts\r\n- Configure firewall rules appropriately\r\n- Consider using HSM for production deployments\r\n- Regularly update EJBCA and dependencies\r\n\r\n## 📁 Project Structure\r\n\r\n```\r\nejbca-lab/\r\n├── README.md                    # This file\r\n├── manual-installation/         # Manual installation guide\r\n│   └── README.md\r\n├── docker-podman/              # Container deployment\r\n│   ├── README.md\r\n│   └── docker-compose.yml\r\n└── terraform-lab/              # GCP Terraform deployment\r\n    ├── README.md\r\n    ├── main.tf\r\n    ├── variables.tf\r\n    ├── outputs.tf\r\n    └── startup.sh\r\n```\r\n\r\n## 🧪 Testing \u0026 Verification\r\n\r\nAfter installation, verify EJBCA is running:\r\n\r\n```bash\r\n# Check web interface\r\ncurl -k https://localhost:8443/ejbca/publicweb/healthcheck/ejbcahealth\r\n\r\n# Access admin web interface\r\n# https://localhost:8443/ejbca/adminweb\r\n```\r\n\r\n## 📚 Additional Resources\r\n\r\n- [EJBCA Official Documentation](https://doc.primekey.com/ejbca)\r\n- [EJBCA Community Edition GitHub](https://github.com/Keyfactor/ejbca-ce)\r\n- [WildFly Documentation](https://www.wildfly.org/documentation/)\r\n- [MariaDB Documentation](https://mariadb.com/docs/)\r\n\r\n## 🤝 Contributing\r\n\r\nFeel free to improve this lab by:\r\n- Adding more deployment methods\r\n- Documenting additional configurations\r\n- Fixing issues or improving documentation\r\n- Adding troubleshooting guides\r\n\r\n## 📝 License\r\n\r\nThis lab is provided for educational and testing purposes. EJBCA has its own licensing terms. Please refer to the official EJBCA documentation for licensing information.\r\n\r\n## ⚠️ Disclaimer\r\n\r\nThis lab is intended for educational and testing purposes. For production deployments, please:\r\n- Review security best practices\r\n- Use appropriate hardware and resources\r\n- Follow EJBCA production deployment guidelines\r\n- Consult with security professionals\r\n\r\n---\r\n\r\n**Happy PKI Building! 🔐**\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapsan14%2Fejbca-lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsapsan14%2Fejbca-lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapsan14%2Fejbca-lab/lists"}