Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to setup a SSL certificate to be used on a test server. However, I will be having clients connecting. I went ahead and have paid for the SSL on our domain host. However they require a 2048 encryption. When I enter this command

openssl req -new -days 365 -nodes rsa:2048 -keyout stage.mytestserver.com.key -out stage.mytestserver.csr

I get an error.

Unknown option at RSA:2048?

Any suggestions?

share|improve this question

1 Answer 1

openssl req -new -newkey rsa:2048 -days 365 -nodes -keyout stage.mytestserver.com.key -out stage.mytestserver.csr

rsa:2048 is actually (or should be) a value for the -newkey argument, which was missing from your example.

share|improve this answer
    
Bottom line, he should update his version of Ubuntu no? –  Braiam Sep 23 '13 at 23:48
    
Thank you so much for pointing that out. –  user195540 Sep 23 '13 at 23:58

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.