Skip to content

Commit

Permalink
Plugin system documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan-Legend committed Nov 19, 2015
1 parent e38bbf7 commit d6e9655
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion letsencrypt-win
6 changes: 1 addition & 5 deletions letsencrypt-win-simple/Plugin/IISPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,7 @@ public override List<Target> GetTargets()

if (result.Count == 0)
{
Console.WriteLine("No IIS bindings with host names were found. Please add one using IIS Manager. A host name and site path are required to verify domain ownership.");
}
else
{
Console.WriteLine("IIS Bindings");
Console.WriteLine(" No IIS bindings with host names were found. Please add one using IIS Manager. A host name and site path are required to verify domain ownership.");
}

return result;
Expand Down
3 changes: 3 additions & 0 deletions letsencrypt-win-simple/Plugin/Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

namespace LetsEncrypt.ACME.Simple
{
/// <summary>
/// To create a new server plugin, simply create a sub-class of Plugin in this project. It will be loaded and run automatically.
/// </summary>
public abstract class Plugin
{
/// <summary>
Expand Down
3 changes: 1 addition & 2 deletions letsencrypt-win-simple/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,12 @@ static void Main(string[] args)
catch (Exception e)
{
Console.ForegroundColor = ConsoleColor.Red;
var acmeWebException = e as ACME.AcmeClient.AcmeWebException;
var acmeWebException = e as AcmeClient.AcmeWebException;
if (acmeWebException != null)
{
Console.WriteLine(acmeWebException.Message);
Console.WriteLine("ACME Server Returned:");
Console.WriteLine(acmeWebException.Response.ContentAsString);
//Console.WriteLine(acme.)
}
else
{
Expand Down

0 comments on commit d6e9655

Please sign in to comment.