error:0906D06C when trying to remove password form certificate



Hello,
I have Debian 2.6.18-6-amd64.
I'm trying to generate certufucate for my server PostgreSQL
(8.3.4compiled myself byt it doesn't matter i suppose). What I do:

In /usr/lib/ssl/misc I've made ca
../CA.sh -newca

next:
mkdir /etc/ssl/psql
cp /usr/lib/ssl/misc/demoCA/cacert.pem /etc/ssl/psql/root.crt

../CA.sh -newreq
../CA.sh -sign
And next I'm trying to remoce password from certificate - i don't want
postgres to ask me every restart for the passphrase:
openssl rsa -in newreq.pem -out key.pem


And after this I get error message:
error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:
644:Expecting: ANY PRIVATE KEY

I can't find the solution.
Private key is where it is supposed to be in proper format (with "-----
BEGIN....").

Please help

Greets
pid
.