The cert generation script is a new feature and not yet shipped on all images. You can download it using the following link:
And unpack it like this
tar -xzvf letsencrypt-20181008.tar.gz
sudo cp -r letsencrypt /opt/bitnami/
After that you can follow the steps in the guide.
Please, click on if you think my answer was helpful