Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 1 down vote accepted

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.

share|improve this answer
Thank you very much. your method helped! – Kim Stacks Jan 18 '11 at 16:53
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
thank you derfk – Kim Stacks Feb 10 '11 at 18:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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