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

changing receptor config to v2 #1934

Open
wants to merge 7 commits into
base: devel
Choose a base branch
from

Conversation

resoluteCoder
Copy link

SUMMARY

Changing receptor cli cert gen,invocation, config to v2

ISSUE TYPE
  • Breaking Change
ADDITIONAL INFORMATION

@fosterseth
Copy link
Member

my recommendation is to just pipe the content to disk in the task container and then run the receptor on that file

cat << EOF > certgen.yaml
version: 2

cert-makereqs:
  - bits: 2048
    commonname: $hostname
    dnsname: $hostname
    nodeid: $hostname
    outreq: /etc/receptor/tls/receptor.req
    outkey: /etc/receptor/tls/receptor.key

cert-signreqs:
  - req: /etc/receptor/tls/receptor.req
    cacert: /etc/receptor/tls/ca/mesh-CA.crt
    cakey: /etc/receptor/tls/ca/mesh-CA.key
    outcert: /etc/receptor/tls/receptor.crt
    notafter: \$(date --iso-8601=seconds --utc --date "10 years")
    verify: yes
EOF

@resoluteCoder resoluteCoder marked this pull request as ready for review August 5, 2024 17:26
@resoluteCoder resoluteCoder changed the title starting changing receptor config to v2 changing receptor config to v2 Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants