Crypt-LE
Crypt-LE copied to clipboard
Can't extract DNS values from first part
I have created a PS script to create the certificates, update the DNS (through the GoDaddy API) and import the PFX file to IIS, and although I still have a few things to tidy I can see how it can all work...
...Except, how do you get the DNS TXT values from the first command into variables?
Essentially, when you run the first part (with the --delayed argument) it outputs several (one for each sub domain specified) keys that need to be put in to the DNS TXT records. I can copy and paste these in to the following commands that set them using the GoDaddy API, but how can I have them output in to variables so I can automate this?
There is nothing in the documentation, but without this I don't see how I can automate the whole thing?
Thanks.