Last active
December 8, 2020 18:38
-
-
Save isaqueprofeta/3057a37903cab1cf50950e7421614f4e to your computer and use it in GitHub Desktop.
Passos para instalação de certificados do SERPRO no CentOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Entrar na pasta de certificados do sistema: | |
| sudo cd /etc/pki/ca-trust/source/anchors/ | |
| # Baixar os certificados do repositorio: | |
| wget -R --no-check-certificate https://ccd.serpro.gov.br/serproacf/docs/ | |
| # Remover apenas os certificados de interesse: | |
| find ./ccd.serpro.gov.br -name *.crt | xargs -I{} cp -u {} . | |
| # Limpar o restante do wget: | |
| sudo rm -rf ccd.serpro.gov.br/ | |
| # Executar compilação dos certificados para o sistema: | |
| sudo update-ca-trust extract |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment