could not register host to satellite server

Latest response

I am troubling to register client (RHEL 8.5 ) to satellite server (version 6.12) using curl command: curl -sS https://satelliteserver.infra.com/register ... and also --insecure does not work.
Although, satellite server's host name is resolved from client.

The error message shown as bellow:
[root@MB-Host2 ~]#curl -sS https://satelliteserver.infra.com/register ...
echo "ERROR: unauthorized";
exit 1
curl: (6) Could not resolve host: ..

[root@MB-Host2 ~]# curl -sS --insecure https://satelliteserver.infra.com/register
echo "ERROR: unauthorized";
exit 1

It would be grateful if anyone help on this.
Thank you.

Responses