Replies: 3 comments 2 replies
-
|
In
|
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the reply Peter.
Both Configuration and appproperties.json are consumed by AzureWebAppSSLManager and with only a few values sent on to SendGrid by the Azure function - right?
As I use AzureWebAppSSLManager I find myself wanting to change the Hostname easily. Changing a Function->Configuraton setting is faster and easier than editing appproperties.json and then having to kick off the Function.
I would like if AzureWebAppSSLManager->Configuration had a "apppropertiesPrimaryLocation" = True/False.
If True then look first in appproperties.json for configuration, and if False look in Function->Configuration for configuration info.
Any value not found in the first location would be sought in the alternative location.
Missing configuration/property values would then throw an error.
This would keep the original behavior if "appparopertiesPrimaryLocation=True" AND improve on-line usability.
n3wt0n - I am proposing to do this - but I would like to know it would be acceptable to you.
Thanks,
Richard Freytag
…-----Original Message-----
From: "Davide Benvegnù aka CoderDave" ***@***.***>
Sent: Wednesday, October 20, 2021 3:57am
To: "n3wt0n/AzureWebAppSSLManager" ***@***.***>
Cc: "rfreytag-fandco" ***@***.***>, "Author" ***@***.***>
Subject: Re: [n3wt0n/AzureWebAppSSLManager] Function->Configuration VERSUS appproperties.json? (Discussion #41)
In `Configuration` you have params and settings that are relative to the Azure Function that runs the AzureWebAppSSLManager logic and that are needed for the software to work.
`appproperties.json` instead contains the bits the software has to work on, meaning the information about the targets where to install/renew the certificates. The _Hostname_ you mention is the hostname for the target webapp/function that the software has to install the certificate on, and it is needed by the logic to identify and retrieve the target object
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#41 (comment)
|
Beta Was this translation helpful? Give feedback.
-
|
I am relatively new so it isn't clear to me how to configure AzureWebAppSSLManager to get mutliple Let's Encrypt certificates.
While I'm at it - is there a way to have *.pfx files automatically imported as an SSL certificate into a WebJob?
As I say - I am new with lots of probably simple questions.
Thank you,
Richard F.
…-----Original Message-----
From: "Davide Benvegnù aka CoderDave" ***@***.***>
Sent: Wednesday, October 20, 2021 9:08am
To: "n3wt0n/AzureWebAppSSLManager" ***@***.***>
Cc: "rfreytag-fandco" ***@***.***>, "Author" ***@***.***>
Subject: Re: [n3wt0n/AzureWebAppSSLManager] Function->Configuration VERSUS appproperties.json? (Discussion #41)
Ideally you shouldn't have to change the hostname very often... the json file can contain an array of properties, meaning that if for example you need to install/renew certificates for 3 Azure WebApps, you would have all 3 in there (with the 3 different hostnames, etc.)
What is your use case for having to change the hostname of the WebApp you target?
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#41 (reply in thread)
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Some values like CertificatePassword are part of the Function->Configuration.
Other values like "Hostname" are part of appproperties.json.
Both seem similarly durable or changeable. You might want to change the Hostname on the function. Why or why not?
What defines which values should be preserved where?
Beta Was this translation helpful? Give feedback.
All reactions