setups:accessing_wordpress_files
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| setups:accessing_wordpress_files [2026/08/07 13:57] – Created initial draft sysadm | setups:accessing_wordpress_files [2026/08/22 20:44] (current) – Adding Tips and VPN link sysadm | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| ==== Downloading Filezilla ==== | ==== Downloading Filezilla ==== | ||
| Line 6: | Line 6: | ||
| If you use Linux look into your package manager. | If you use Linux look into your package manager. | ||
| + | \\ | ||
| ==== Setup ==== | ==== Setup ==== | ||
| - | - On the top left, open " | + | - On the top left, open " |
| - | - Click on "New Site" and insert the following informations: | + | - Click on "New Site" and insert the following informations: |
| - | - During the first login, it may ask about the key trust: click on " | + | - During the first login, it may ask about the key trust: click on " |
| + | \\ | ||
| ==== Accessing the files ==== | ==== Accessing the files ==== | ||
| - | - From the "Site Manager" | + | - From the "Site Manager" |
| - | - In the " | + | - In the " |
| - | + | ||
| - | Clusters have shared domain between two machines (for example, Prod5_Core1 | + | |
| - | *beincontact.becloudsolutions.com*), | + | |
| - | click "Edit record", | + | |
| - | + | ||
| - | You have to do this for the machine where you are **not** trying to renew the certificates (for example, you want to renew | + | |
| - | Prod5_Core1, | + | |
| - | the weight and repeat the process for the second server. | + | |
| - | < | + | |
| - | sudo certbot-3 certonly --nginx -d **domain**, | + | |
| - | </ | + | |
| - | + | ||
| - | Copy-paste domains Core1: | + | |
| - | < | + | |
| - | sudo certbot-3 certonly --nginx -d core1.beincontact.becloudsolutions.com, | + | |
| - | </ | + | |
| - | + | ||
| - | Copy-paste domains Core2: | + | |
| - | < | + | |
| - | sudo certbot-3 certonly --nginx -d core2.beincontact.becloudsolutions.com, | + | |
| - | </ | + | |
| - | \\ | ||
| \\ | \\ | ||
| - | + | From this point on you can navigate the folder structure and open a file by right-clicking on it and open it with an external editor | |
| - | ==== Acme-challenge ==== | + | |
| - | + | ||
| - | === Istances that need certs for operation === | + | |
| - | + | ||
| - | * Prod5_Core1/ | + | |
| - | + | ||
| - | (There are shared Outlook calendars for all expiring certs) | + | |
| \\ | \\ | ||
| - | ==== Commands | + | ==== Tips ==== |
| - | === Acme-challenges clusters === | + | Wordpress files are only accessible from the local BeCloud WiFi-network, so you need to use our Wireguard VPN to access it remotely. \\ |
| + | For setup please look at the [[setting_up_office_vpn|VPN guide]]. \\ | ||
| - | For clusters, you need to run the command on **both** " | + | --- //[[lorenzo.cesana@becloudsolutions.com|Lorenzo Cesana]] 2026/08/07 15:21// |
| - | Login to [[https:// | + | |
| - | + | ||
| - | Clusters have shared domain between two machines (for example, Prod5_Core1 and Prod5_Core2 are both pointed by | + | |
| - | *beincontact.becloudsolutions.com*), | + | |
| - | click "Edit record", | + | |
| - | + | ||
| - | You have to do this for the machine where you are **not** trying to renew the certificates (for example, you want to renew | + | |
| - | Prod5_Core1, | + | |
| - | the weight and repeat the process for the second server. | + | |
| - | + | ||
| - | Follow the instructions on screen and replace old entries in the DNS, make a copy of the old values in case you need to use the old certs. Do **not** create multiple records for one domain, even if certbot tell you to do it, you can't in AWS. | + | |
| - | Be aware that you have to deploy all domains before terminating the script (it will warn you when it's almost done), Certbot check for deployment only in the end, not every time it ask you to deploy a domain. | + | |
| - | < | + | |
| - | certbot certonly --manual --preferred-challenges dns --key-type rsa -d **domain**, | + | |
| - | </code> | + | |
| - | + | ||
| - | Copy-paste domains: | + | |
| - | < | + | |
| - | certbot certonly --manual --preferred-challenges dns --key-type rsa -d beincontact2.becloudsolutions.com, | + | |
| - | </ | + | |
| - | + | ||
| - | \\ | + | |
| - | \\ | + | |
| - | + | ||
| - | Follow the wizard and **read the final output**, you need to '' | + | |
| - | the commands to preare the certs (will be in / | + | |
| - | + | ||
| - | \\ | + | |
| - | + | ||
| - | ==== Certs preparation ==== | + | |
| - | < | + | |
| - | \cp -b privkey.pem server.key | + | |
| - | cat fullchain.pem | + | |
| - | \cp -b server.key | + | |
| - | \cp -b server.pem / | + | |
| - | </ | + | |
| - | + | ||
| - | \\ | + | |
| - | + | ||
| - | ==== Restart services ==== | + | |
| - | < | + | |
| - | systemctl restart nginx && systemctl restart agentserver | + | |
| - | </code> | + | |
| - | + | ||
| - | \\ | + | |
setups/accessing_wordpress_files.1786111075.txt.gz · Last modified: by sysadm
