Steps
1. Install certbot:
sudo apt-get install certbot python3-certbot-apache
2. Run it:
sudo certbot –apache
3. Answer the questions and done. Make sure you also update your url with https on the WordPress settings.
Credits
https://www.youtube.com/watch?v=uSm3xepvUNM&ab_channel=TonyTeachesTech