As I have already mentioned in previous messages, if you copy all the code for the documentation and paste it in the console it will not work. Sometimes the documentation says that you need to edit a file and insert the code there. Pasting it in the console will make it show errors like this:
SSLCertificateKeyFile: command not found
since it is not a command.
So for that, you need to open the file with an editor (more info) and edit those lines to look like the text inside the black background.
You have more info about editor in the link below:
Apart from that, when executing the
bncert tool, you should read the question and reply accordingly.
An updated version is available. Would you like to download it? You would need to run it manually later. [Y/n]: n
You should reply
n) to the previous version. Otherwise, the tool will exit in order to update it. Let's avoid this update.
And finally, you also need to run it as
If you remove
sudo, you will receive an error saying
The installer requires root privileges.
So, as summary, to fix the errors you receive in your latest screenshot:
sudo /opt/bitnami/bncert-tool and don't remove the
n to the question
An updated version is available. Would you like to download it? You would need to run it manually later. [Y/n]:
- Don't paste Apache configuration directly in the console. Edit the files according to the documentation.