SSL Certificate - /etc/apache2/ports.conf - denied
I generated a Self-Signed Certificate, but when trying to configure Apache to use the Self-Signed Certificate, i got a permission denied to the command '/etc/apache2/ports.conf'. I need to add my NameVirtualHost ip there.
*** Note: I got permission denied now when trying to edit any file, like /etc/apache2/sites-available/my-site.com
*** I can reach the file using my sftp software, but i don´t know why i can´t edit using PuTTY anymore
What to do?
Thanks
5 Replies
@grevan:
In order to install phpmyadmin, the guide suggests me to use a Self-Signed SSL Certificate with Apache.
I generated a Self-Signed Certificate, but when trying to configure Apache to use the Self-Signed Certificate, i got a permission denied to the command '/etc/apache2/ports.conf'. I need to add my NameVirtualHost ip there.
*** Note: I got permission denied now when trying to edit any file, like /etc/apache2/sites-available/my-site.com
*** I can reach the file using my sftp software, but i don´t know why i can´t edit using PuTTY anymore
What to do?
Thanks
are you root or using sudo?
Sorry, didn´t understand your question.
@grevan:
I´m using the PuTTY software.
Sorry, didn´t understand your question.
are you logged in as the root user or using sudo to act as root. a normal user will not be able to edit config files
- What is sudo?
Thanks