2

Can I use Self-signed Cert for local yum repository server?

The problem is when a client i sdoing a yum update via my repository server, it shows

[Errno 14] curl#60 - "Peer's certificate issuer has been marked as not trusted by the user."

Is there anyway that I can connect to the repository server via HTTPS (port 443) rather than port 80?

Thanks!!!

U880D
  • 1,017
  • 2
  • 12
  • 18
David A
  • 127
  • 1
  • 4
  • 10

1 Answers1

3

Importing ca-certificate chain (.crt) - RHEL7

Copy the cert to /etc/pki/ca-trust/source/ and run update-ca-trust extract

If you had an existing PKI to deploy this with like Red Hat Certificate System, use that instead.

John Mahowald
  • 32,050
  • 2
  • 19
  • 34