Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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'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 -out stage.mytestserver.csr

I get an error.

Unknown option at RSA:2048?

Any suggestions?

share|improve this question
openssl req -new -newkey rsa:2048 -days 365 -nodes -keyout -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


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.