Certificate issues on AIM macOS Monterey 12.1

0

Hi

I'm getting certificate issues when trying to for instance install npm packages on instances created based in the macOS Monterey 12.1 AIM. Have not not tried any of the other mac AIM's

Steps to reproduce:

  1. Create a new instance based on ami-09f94ce5cd5d474d9 (macOS Monterey 12.1)
  2. Install node brew install node
  3. Install for instance react-native. npm install -g react-native I now got a ssl certificate error. If I disable ssl for npm I'm able to get further
npm set strict-ssl false

But I then run into other issues as also certificate related. I also not really see disabling ssl as a proper solution :-)

We are also using Ansible then building a custom AMI. And I'm not able to install anything with ansible-galaxy - here I'm also getting certificate issues.

Am I missing anything when creating the instance - is this not expected to just work out of the box?

I found that if I reinstall the brew package ca-certificates everything starts to work as expected. Could there be something wrong with the brew installation on macOS Monterey 12.1 AMI (ami-09f94ce5cd5d474d9)

brew reinstall ca-certificates

/René

질문됨 2년 전360회 조회
1개 답변
0

Hi, Good question

It appears to be an existing issue with MacOS and brew. More info at https://apple.stackexchange.com/questions/393481/homebrew-cask-download-failure-ssl-certificate-problem-certificate-has-expired

profile picture
Sri
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠