Ubuntu 18.04 VM에 Landscape Server 18.03이 설치되어 있으며 자체 모니터링이 가능합니다. 그래서 그 쪽은 효과가있는 것 같습니다.
다른 18.04 VM을 등록하려고합니다.
sudo landscape-config --computer-title "landscape client" --account-name standalone --url https://landscape.localhost/message-system --ping-url http://landscape.localhost/ping
그리고 점점
We were unable to contact the server.
Your internet connection may be down. The landscape client will continue to try and contact the server periodically.
broker.log 포함
sudo tail -n 19 /var/log/landscape/broker.log
2018-08-11 20:45:00,394 INFO [MainThread] Starting urgent message exchange with https://landscape.localhost/message-system.
2018-08-11 20:45:00,400 ERROR [PoolThread-twisted.internet.reactor-0] Error contacting the server at https://landscape.localhost/message-system.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/landscape/lib/fetch.py", line 116, in fetch
curl.perform()
pycurl.error: (77, '')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/landscape/client/broker/transport.py", line 82, in exchange
message_api)
File "/usr/lib/python3/dist-packages/landscape/client/broker/transport.py", line 56, in _curl
headers=headers, cainfo=self._pubkey, curl=curl))
File "/usr/lib/python3/dist-packages/landscape/lib/fetch.py", line 118, in fetch
raise PyCurlError(e.args[0], e.args[1])
landscape.lib.fetch.PyCurlError: Error 77:
2018-08-11 20:45:00,401 INFO [MainThread] Message exchange failed.
2018-08-11 20:45:00,402 INFO [MainThread] Message exchange completed in 0.01s.
둘다
http://landscape.localhost/ping
curl -k https://landscape.localhost/message-system
일하지만
curl https://landscape.localhost/message-system
그렇지 않지만 Landscape 서버에서 CA 인증서를 복사하면
sudo curl https://landscape.localhost/message-system --cacert /etc/ssl/certs/landscape.localhost_ca.pem
공장
ca 인증서와 서버 인증서 모두에서 client.conf의 ssl_public_key를 가리 키려고했지만 작동하지 않는 것 같습니다.