Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

http://www.curtis-lamasters.com/2008/07/30/apache2-on-ubuntu-openssl-csr-self-signed-cert/

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

1 Answer 1

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

 
discard

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.