Skip to content

Please help with adding self signed certificates. #2006

Answered by arnaldo2792
adityaTor asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @adityaTor, could you please try to add the -w0 parameter to the base64 command? I had the same problem in my testing when I was implementing the feature in #1654, as you can see there I concatenated a few certificates like this:

# Save all certificates as a bundle
BUNDLE=$(cat $PERSISTENT_DIR/ca-1.crt $PERSISTENT_DIR/ca-2.crt $PERSISTENT_DIR/ca-3.crt | base64 -w0)
apiclient set pki.local-registry.data=$BUNDLE \
  pki.local-registry.trusted=true

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@adityaTor
Comment options

@arnaldo2792
Comment options

@adityaTor
Comment options

@arnaldo2792
Comment options

@adityaTor
Comment options

Answer selected by arnaldo2792
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants