Instale o certificado raiz no Ubuntu 14.04 64-bit

1

Alguém sabe como instalar o certificado raiz no Ubuntu 14.04 64-bit? Todos os métodos que encontrei na Internet não funcionam ( update-ca-certificate , dpkg-reconfigure etc.). Na minha instalação anterior do Ubuntu (12.04) não havia problema. Também não há problemas com o debian. Eu preciso disso, por exemplo, para verificar o repositório svn que está localizado em URL: link . O certificado SSL para mydomain é assinado por minha CA (ActiveDirectory).

Houve um tópico sobre a instalação da CA raiz e o Ubuntu no Stack, e alguém também disse que os "métodos antigos" também não funcionam para ele (também o Ubuntu 14.04).

    
por Marcin Garski 29.09.2014 / 13:29

1 resposta

2

Para mim, colocar um certificado de CA raiz em /usr/local/share/ca-certificates e executar update-ca-certificates funciona bem. Isso não afeta o Firefox nem o Google Chrome, pois eles usam seus próprios armazenamentos de certificados, mas ferramentas como wget funcionam bem.

De acordo com man update-ca-certificates :

It reads the file /etc/ca-certificates.conf. Each line gives a pathname
of a CA certificate under  /usr/share/ca-certificates  that  should  be
trusted.  Lines that begin with "#" are comment lines and thus ignored.
Lines that begin with "!" are deselected, causing the  deactivation  of
the CA certificate in question. Certificates must have a .crt extension
in order to be included by update-ca-certificates.

Furthermore  all  certificates  with  a  .crt  extension  found   below
/usr/local/share/ca-certificates   are   also  included  as  implicitly
trusted.
    
por muru 29.09.2014 / 17:23