tomcat_letsencrypt
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tomcat_letsencrypt [2023/01/12 17:46] – [Install and configure authbind] millerjs | tomcat_letsencrypt [2024/11/14 02:30] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Install and Configure Tomcat 9.0.19 | + | ===== Install and Configure Tomcat 9.0.19 ===== |
| https:// | https:// | ||
| Line 9: | Line 9: | ||
| Install JDK (CentOS/ | Install JDK (CentOS/ | ||
| - | < | + | < |
| - | Download Tomcat (9.0.19) | + | Download Tomcat (9.0.76) |
| - | < | + | < |
| Decompress | Decompress | ||
| Line 19: | Line 19: | ||
| Give tomcat user ownership | Give tomcat user ownership | ||
| < | < | ||
| - | ====== Notes for RHEL/ | ||
| - | ====== Install and configure authbind | + | ===== Install and configure authbind ===== |
| === Ubuntu === | === Ubuntu === | ||
| Line 49: | Line 48: | ||
| - | ====== Using A Local CA with Tomcat9 ====== | + | ===== Using Lets Encrypt with Tomcat9 (single) ===== |
| - | ===== Generate CA in xca(?) ====== | + | |
| - | + | ||
| - | ====== Using Lets Encrypt with Tomcat9 (wildcard) ====== | + | |
| - | Generate Cert: | + | |
| - | < | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ====== Using Lets Encrypt with Tomcat9 (single) | + | |
| This is the manual way. I'm sure there' | This is the manual way. I'm sure there' | ||
| Line 238: | Line 228: | ||
| </ | </ | ||
| </ | </ | ||
| + | </ | ||
| + | |||
| + | ===== tomcat systemd service file ===== | ||
| + | < | ||
| + | [Unit] | ||
| + | Description=Apache Tomcat Web Application Container | ||
| + | After=network.target | ||
| + | |||
| + | [Service] | ||
| + | Type=forking | ||
| + | |||
| + | Environment=" | ||
| + | Environment=" | ||
| + | Environment=" | ||
| + | Environment=" | ||
| + | Environment=" | ||
| + | Environment=" | ||
| + | |||
| + | ExecStart=/ | ||
| + | ExecStop=/ | ||
| + | |||
| + | User=root | ||
| + | Group=root | ||
| + | UMask=0007 | ||
| + | RestartSec=10 | ||
| + | Restart=always | ||
| + | |||
| + | [Install] | ||
| + | WantedBy=multi-user.target | ||
| </ | </ | ||
tomcat_letsencrypt.1673545592.txt.gz · Last modified: (external edit)
