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

Cert Chain Exists #2

Open
meverett1167 opened this issue Jan 4, 2017 · 2 comments
Open

Cert Chain Exists #2

meverett1167 opened this issue Jan 4, 2017 · 2 comments
Assignees

Comments

@meverett1167
Copy link

if multiple domains are listed in domains.txt, then code will fail when deploying the second cert b/c chain file already exists. Same issue will occur if script was previously used to deploy a different cert, but uses same le-chain.

@f5-rahm
Copy link
Contributor

f5-rahm commented May 4, 2022

I'll take a look at the reconfigure and adjust when I get the chance.

@f5-rahm f5-rahm self-assigned this May 4, 2022
@rossnick
Copy link

rossnick commented Jul 19, 2022

I've found this script while googling for something better than what we were using on our old version 11 bigip. The new ones are at version 16.

While this script fails when uploading the chain, the new certificate is still created.

Previously, the hook script I had was using tmsh to install the certificate :

tmsh install sys crypto key ${name} from-local-file ${KEYFILE}
tmsh install sys crypt cert ${name} from-local-file ${FULLCHAINFILE}
tmsh modify ltm profile client-ssl ${profile} cert-key-chain replace-all-with { default { key $key cert $cert } }

(inspired from https://github.com/steveh565/f5-letsencrypt-http/blob/master/letsencrypt/hook.sh)

Doing so, the fullchain (ie cert+chain) was uploaded to the F5, and the chain itself was not used.

So, with this script, does the chain is really needed ? Can we just specify the key and certificate (fullchain) in the ssl profile ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants