[ Home | Liste | F.A.Q. | Risorse | Cerca... ]


[ Data: precedente | successivo | indice ] [ Argomento: precedente | successivo | indice ]


Archivio: openbsd@sikurezza.org
Soggetto: Problema con la realizzazione di un file .pem
Mittente: Andrea Riela
Data: 12 Nov 2003 17:42:12 -0000
Ciao,

Ho un problema serio. Volevo creare un certificato da dare eventualmente in
pasto a stunnel. Leggendo un howto ho seguito questi passi:

observe# mkdir -p /etc/ssl/certs
observe# cd /etc/ssl/certs
observe# openssl genrsa 1024 > qmail.rsa
Generating RSA private key, 1024 bit long modulus
.........++++++
.................++++++
e is 65537 (0x10001)
observe# openssl gendh -rand /dev/urandom > qmail.dh
2048 semi-random bytes loaded
Generating DH parameters, 512 bit long safe prime, generator 2
This is going to take a long time
......+....+.....................+......+...................................
..........++*++*++*++*++*++*
observe# openssl req -new -x509 -nodes -key qmail.rsa -out qmail.x509
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
<Bla bla bla>

observe# cat qmail.rsa qmail.pem qmail.x509 qmail.dh > qmail.pem

/: write failed, file system is full
Nov 12 12:50:20 observe /bsd: uid 0 on /: file system full
Nov 12 12:50:20 observe /bsd: uid 0 on /: file system full
cat: stdout: No space left on device

Ora, prima in / avevo il 7% di spazio utilizzato, mentre adesso:
observe# df
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/wd0a      495631   495373   -24523   105%    /

Cos' successo? Che file  stato creato che mi ha occupato circa 500Mb di
spazio? Come faccio ad eliminarlo (non vorrei avere / al 105%) e come creare
un .pem senza problemi?

Grazie infinite
Andrea


________________________________________________________
http://www.sikurezza.org - Italian Security Mailing List




[ Home | Liste | F.A.Q. | Risorse | Cerca... ]

www.sikurezza.org - Italian Security Mailing List
(c) 1999-2005