juju4 / ansible-MISP

ansible role to setup MISP, Malware Information Sharing Platform & Threat Sharing
BSD 2-Clause "Simplified" License
51 stars 21 forks source link

Import Remi rpm repository keys error #10

Closed komaromibandi closed 2 years ago

komaromibandi commented 2 years ago

Dear juju4,

I use Centos7 and I always get this error. I use two centos 7 instances on vmware. I updated all of the instances with this ansible module and added some usefull stuff. The preview yml file that I pasted here can be wierd so sorry about that.

The point is that I always get thios error :

image I hope you can help me.

juju4 commented 2 years ago

Please use code formatting for your playbook else issue not very readable.

Above is a certificate error.

You include a system update tasks but can you check more specifically ca-certificates packages?

latest ca-certificates-2021.2.50-72.el7_9.noarch.rpm per https://pkgs.org/search/?q=ca-certificates https://rpms.remirepo.net/ is using Let's Encrypt CA so you must have it locally and trusted Potentially related to https://blog.devgenius.io/rhel-centos-7-fix-for-lets-encrypt-change-8af2de587fe4

In my regular github actions, only have centos8 https://github.com/juju4/ansible-MISP/actions/runs/2274030895 centos7 removed in Oct 2021 likely because of python3 issues, misp-modules or other. I can't remember exactly.

You can fix certificate issue but I would still recommend to use a more recent release as python 3.6 or 3.8 is often becoming a requirement.

komaromibandi commented 2 years ago

Thank you for your answer, next time I will pay more attention to the code formatting guidelines.