Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: add option for simply importing the server's public key #2

Open
stdevel opened this issue Apr 4, 2024 · 0 comments
Assignees
Labels
client client role enhancement New feature or request

Comments

@stdevel
Copy link
Owner

stdevel commented Apr 4, 2024

Unless a CA is used, it would be handy to simply import the Landscape server's public key as landscape-config unfortunately misses this parameter 🤡 🤡 🤡

Idea:

- name: Store Landscape certificate
  ansible.builtin.shell: |
    set -o pipefail
    openssl s_client -showcerts -servername HOSTNAME -servername HOSTNAME -connect HOSTNAME:443 <<< "Q" | openssl x509 -pubcert -out /etc/landscape/landscape_server.crt
  args:
    executable: /bin/bash
    creates: /etc/landscape/landscape_server.crt
@stdevel stdevel added enhancement New feature or request client client role labels Apr 4, 2024
@stdevel stdevel self-assigned this Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client client role enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant