Install and configuring the Apache SSL on RHEL/CentOS, Debian 9,10 and Ubuntu 20.04
- Install the necessary packages;
- Configure apache, vhost and ssl
- The SELinux and firewall settings are not considered to be a concern of this role.
Necessary changes to defaults / main.yml
| Variable | Default | Comments |
|---|---|---|
apache_docroot |
'/var/www/html' | Path to the document root (directory containing html files) |
apache_failover_domain |
Inform your domain | |
No dependencies.
It is necessary to exchange the certificates below for your certificates
├── files
│ ├── almircandido.com_ca
│ ├── almircandido.com.crt
│ └── almircandido.com.key
---
- hosts: apache
become: yes
roles:
- /path/acandid.apache
...
[apache]
debian
ubuntu
redhat
centos
Issues, feature requests, ideas are appreciated and can be posted in the Issues section.
LinkedIn: https://br.linkedin.com/in/almircandido