Skip to content

Commit

Permalink
cacerts
Browse files Browse the repository at this point in the history
  • Loading branch information
patou committed Dec 5, 2024
1 parent 8f5ce1a commit 5a9040c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,21 @@ jobs: # a collection of steps
sudo rm -f /etc/ssl/certs/java/cacerts
# Créer un lien symbolique vers les certificats système
sudo ln -sf /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/java/cacerts
- run:
name: Reinstall Cacerts
command: |
# Supprimer toute trace de fichiers problématiques
if [ -e /etc/ssl/certs/java/cacerts ]; then
sudo rm -rf /etc/ssl/certs/java/cacerts
fi
# Réinstaller ca-certificates-java et OpenJDK
sudo apt-get update && sudo apt-get install --reinstall -y ca-certificates-java openjdk-11-jre-headless
# Forcer la régénération du keystore
sudo /var/lib/dpkg/info/ca-certificates-java.postinst configure
# Vérifier que le keystore est valide
sudo keytool -list -keystore /etc/ssl/certs/java/cacerts -storepass changeit
# Régler les permissions
sudo chmod 644 /etc/ssl/certs/java/cacerts
- run:
name: Install Python 3
command: |
Expand Down

0 comments on commit 5a9040c

Please sign in to comment.