How to use the custom repos without registration?

Problem: I can see the custom repos held in Katello via an external link (i.e. https://10.x.x.x/pulp/content/STC_Corp_/Library/custom/Ubuntu20_repo) so technically I can use the link to point yum or apt to use the link. But I get an error…
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification.
Reading package lists… Done
E: The repository ‘https://10.x.x.x/pulp/content/STC_Corp_/Library/custom/Ubuntu20_repo focal Release’ does not have a Release file.

Expected outcome: I should be able to update or install pakages

**Foreman and Proxy versions:**Version 2.5.2

Foreman and Proxy plugin versions:

Distribution and version:

Other relevant data:

Hi @efelix welcome to the community!

Could you explain what you are trying to do, the steps you are executing, the versions of your environment and provide the log messages related to the error? Hopefully we will be able to better help you to achieve your goal with those basic information.


1 Like

Since Ubuntu servers do not support Subscription Manager, I will like to access the repo via external link. Due to security requirements, I can’t use the ATIX Subscription Manager workaround, nor I can provide logs. Thanks

You are accessing a TLS server using the IP address which is not mentioned in the server certificate.

You have to use the host name (from the server certificate) to access the server.

Also make sure the CA is set as trusted on your client.

Otherwise check if you can disable the ssl certificate verification or use http:

Thanks I will try that.