Re: Certificado SSL Apache2
Oi Ali3n,
CA na verdade significa "Certication Authority" - Autoridade de Certificação.
Para que o certificado seja gerado com o hostname desejado, vc deve
informá-lo no campo COMMON NAME, se vc tiver usando o openssl.
Tipo, usando o comando padrão, temos:
$ openssl req -new > new.cert.csr
Generating a 1024 bit RSA private key
......++++++
......++++++
writing new private key to 'privkey.pem'
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:
-----
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.
-----
Country Name (2 letter code) [AU]:BR
State or Province Name (full name) [Some-State]:BAHIA
Locality Name (eg, city) []:SALVADOR
Organization Name (eg, company) [Internet Widgits Pty Ltd]:hehhehe
Organizational Unit Name (eg, section) []:TI
Common Name (eg, YOUR name) []: hercules.hehehe.com.br
Email Address []:guilherme@gf7.com.br
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:1234
An optional company name []:1234
grochap@osdesktop:~$
Neste caso o hostname será hercules.hehehe.com.br
Esper que lhe ajude.
Abraços,
Guilherme
Em 18/12/07, Ali3n<andcmp01@yahoo.com.br> escreveu:
> Olá Galera,
>
>
> Eu estou gerando os certificados e no campo CA estou colocando o nome do meu
> domínio virtual . Ex: www.site.com.br
>
> Mas quando eu acesso a máquina o browser me dá a seguinte mensagem:
>
> "O nome no certificado de segurança é inválido
> ou não corresponde ao nome do site."
>
> Onde eu estou errando?
>
> Grato.
>
> ________________________________
> Abra sua conta no Yahoo! Mail, o único sem limite de espaço para
> armazenamento!
>
>
--
Guilherme Rocha
Mobile 55 71 92133568
Keep on hackin' in the free world!
Reply to: