I have never set up ssl cert before.

I have 2 different domains hosted on the same instance in amazon ec2.

I need to set up ssl certs for both domains. I suspect the steps are the same for both.


I have finished sudo a2enmod ssl

I am stuck at the step at navigating to /etc/ssl/private because amazon only gave me a user called ubuntu and not root access.

Please write out for me detailed steps.

Thank you very much.


It looks like the tutorial writer left out sudo -i after the sudo a2enmod ssl step. That will get you an interactive root shell, then you can finish the commands as written.

  • i wish i can upvote, but i need at least 15 points. – Kim Stacks Jan 18 '11 at 16:54
  • @keisimone: If you were able to get SSL working, click the checkmark next to my answer to accept it as the correct answer. I think that will give you points as well. – DerfK Jan 18 '11 at 20:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.