**Hello @jota! **
Thanks for your answer.
Only, to make sure I understand, I would like to clarify:
1- I already did the test with the command sudo cat /opt/bitnami/apache2/wordpress_users and indeed the key appears encrypted. But, I would like to know if, for example, my user is durantorres and my password is 123, the file should be saved like this: sudo ./apache2/bin/htpasswd -cb apache2 / wordpress_users durantorres 123 ?
2- I have tried to apply the configuration of https://docs.bitnami.com/aws/apps/wordpress/#how-to-force-https-redirection-with-apache, but, when I access my website, it says that there are many redirects. Is there a problem with using a Load Balancer with SSL, instead of a true SSL?
I am using AWS Lightsail and this system provides an SSL by means of a Load Balancer.