[FUG-BR] ssl apache22

Victor Loureiro Lima victorloureirolima em gmail.com
Terça Janeiro 30 16:12:12 BRST 2007


man cp(1):
(....)
 -R    If source_file designates a directory, cp copies the directory and
           the entire subtree connected at that point.  If the source_file
           ends in a /, the contents of the directory are copied rather than
           the directory itself.  This option also causes symbolic links to be
           copied, rather than indirected through, and for cp to create spe-
           cial files rather than copying them as normal files.  Created
           directories have the same mode as the corresponding source direc-
           tory, unmodified by the process' umask.

           Note that cp copies hard linked files as separate files.  If you
           need to preserve hard links, consider using tar(1), cpio(1), or
           pax(1) instead.
(...)

Tenta tirar o -R da frente, pode ser isso. apesar de nao fazer muito sentido...

victor lima

2007/1/30, Marcello Costa <unixmafia at yahoo.com.br>:
> estou tendo prpblema para criar os certificados para o apache22 no
> freebsd 6.2
>
> no /etc/rc.conf
>
> apache22_enable="YES"
> apache22ssl_enable="YES"
>
> para criar o certificado
>
>  openssl x509 -req -days 365 -in /root/server.csr
> -signkey /root/server.key -out /root/server.crt
>
> copio para :
>
> cp -Rf /root/server.key /usr/local/etc/apache22/ssl.key/
> cp -Rf /root/server.crt /usr/local/etc/apache22/ssl.crt/
>
> mas estou tendo como resposta:
>
> apachectl graceful
> Syntax error on line 99 of /usr/local/etc/apache22/extra/httpd-ssl.conf:
> SSLCertificateFile: file '/usr/local/etc/apache22/server.crt' does not
> exist or is empty
> httpd not running, trying to start
>
> realmente o diretório esta vazio, alguem já passou por isso e resolveu ?
>
> []'s
>
>
>
> _______________________________________________________
> Yahoo! Mail - Sempre a melhor op��o para voc�!
> Experimente j� e veja as novidades.
> http://br.yahoo.com/mailbeta/tudonovo/
>
>
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>
>
>


Mais detalhes sobre a lista de discussão freebsd