-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from glatzert/net8.0-update
Net8.0 update
- Loading branch information
Showing
15 changed files
with
101 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ If you are into PowerShell, you can e.g. use my open source module [ACME-PS](htt | |
|
||
Please be advised that this project is _NOT_ free for commercial-use, but you may test it in any company and use it for your personal projects as you see fit. | ||
Buying the license does not include maintenance, nevertheless I'll do my very best to answer issues here on GitHub as fast as possible. | ||
If you need help installing the software or getting it up and running in your environment or you want a maintenance contract, feel free to contact me and we most likely will find a way. | ||
If you need help installing the software or getting it up and running in your environment or you want a maintenance contract, feel free to [contact me via e-Mail](mailto:[email protected]) and we'll figure something out. | ||
|
||
The software is provided "as is", without warranty of any kind. | ||
|
||
|
@@ -23,16 +23,17 @@ I assume your machine is domain joined. | |
IIS PS> Install-WindowsFeature Web-Server,Web-Http-Logging,Web-Request-Monitor,Web-Http-Tracing,Web-Filtering,Web-IP-Security,Web-Mgmt-Console; | ||
``` | ||
|
||
- [ ] Install the required [LTS Version of .NET](https://dotnet.microsoft.com/en-us/download/dotnet/6.0) (6.0 LTS). You'll need the hosting bundle from the .NET Runtime section. | ||
- [ ] Install the required [LTS Version of .NET](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) (8.0 LTS). You'll need the hosting bundle from the .NET Runtime section. | ||
- [ ] Download the latest release of [ACME-ADCS](https://github.com/glatzert/ACME-Server-ADCS/releases) | ||
|
||
- [ ] Extract the contents of the Release ZIP-file into `C:\inetpub\wwwroot\`. | ||
- [ ] Modify the IIS-AppPool, to not use .NET Framework (new .NET is loaded via another mechanism) and set it's identity to either a custom account (recommended) or "NetworkService". | ||
- [ ] Modify the IIS-AppPool, to not use .NET Framework (new .NET is loaded via another mechanism) and set it's identity to either a group managed service account (recommended), custom account or "NetworkService". | ||
- [ ] Allow the account to "Logon as a batch job". Read more about [Appliction Pool Identites](https://learn.microsoft.com/en-us/iis/manage/configuring-security/application-pool-identities) and [Managed Service Accounts](https://learn.microsoft.com/de-de/windows-server/security/group-managed-service-accounts/group-managed-service-accounts-overview) | ||
|
||
## Configure ACME-ADCS | ||
|
||
- [ ] Create a path for working files of ACME-ADCS, e.g `C:\ACME-ADCS` (this is the default path) | ||
- [ ] Grant full rights to the account used above | ||
- [ ] Grant read/write rights to the account used above | ||
|
||
- [ ] Copy `C:\inetpub\wwwroot\appsettings-custom.dist.json` to `C:\inetpub\wwwroot\appsettings-custom.json` | ||
- [ ] Open `C:\inetpub\wwwroot\appsettings-custom.json` in the editor of your choice. | ||
|
@@ -41,7 +42,7 @@ IIS PS> Install-WindowsFeature Web-Server,Web-Http-Logging,Web-Request-Monitor,W | |
```cmd | ||
CMD> certutil -dump | ||
``` | ||
- [ ] Look for "Configuration" and set this as `CAServer` in the opened configuration file. Watch for '\', which need to be escaped. | ||
- [ ] Look for "Configuration" and set this as `CAServer` in the opened configuration file. Watch for '\', which need to be escaped. Refer to 'appsettings-sample.json' to see how it might look like. | ||
|
||
- [ ] Use `certutil -ADTemplate`, `certutil -CATemplates` or `certutil -Template` to find the name of the template to be used (or ask your CA-Admin) | ||
- [ ] Set the `TemplateName` in the opened configuration file | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,59 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<AssemblyName>TGIT.ACME.Protocol.CertProvider.ADCS</AssemblyName> | ||
<RootNamespace>TGIT.ACME.Protocol.CertProvider.ADCS</RootNamespace> | ||
<OutputType>Library</OutputType> | ||
|
||
<!--<Title>ACME Certificate Provider for ADCS</Title> | ||
<PropertyGroup> | ||
<TargetFramework>net8.0-windows</TargetFramework> | ||
<AssemblyName>TGIT.ACME.Protocol.CertProvider.ADCS</AssemblyName> | ||
<RootNamespace>TGIT.ACME.Protocol.CertProvider.ADCS</RootNamespace> | ||
<OutputType>Library</OutputType> | ||
<Nullable>enable</Nullable> | ||
|
||
<!--<Title>ACME Certificate Provider for ADCS</Title> | ||
<RepositoryUrl>https://github.com/PKISharp/ACME-Server/</RepositoryUrl> | ||
<Description> | ||
Implementation of a certificate provider based on Active Directory Certificate Services | ||
</Description> | ||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> | ||
<PackageLicenseFile>LICENSE</PackageLicenseFile> | ||
<PackageTags>ACME;RFC 8555;ADCS</PackageTags> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>--> | ||
</PropertyGroup> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>--> | ||
</PropertyGroup> | ||
|
||
<!-- | ||
<!-- | ||
<ItemGroup> | ||
<None Remove="LICENSE" /> | ||
<Content Include="LICENSE" Pack="true" /> | ||
</ItemGroup> --> | ||
|
||
|
||
<ItemGroup> | ||
<COMReference Include="CERTENROLLLib.dll"> | ||
<Guid>728ab348-217d-11da-b2a4-000e7bbb2b09</Guid> | ||
<VersionMajor>1</VersionMajor> | ||
<VersionMinor>0</VersionMinor> | ||
<WrapperTool>tlbimp</WrapperTool> | ||
<Lcid>0</Lcid> | ||
<Isolated>false</Isolated> | ||
</COMReference> | ||
<COMReference Include="CERTCLILib.dll"> | ||
<Guid>372fce32-4324-11d0-8810-00a0c903b83c</Guid> | ||
<VersionMajor>1</VersionMajor> | ||
<VersionMinor>0</VersionMinor> | ||
<WrapperTool>tlbimp</WrapperTool> | ||
<Lcid>0</Lcid> | ||
<Isolated>false</Isolated> | ||
</COMReference> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.0" /> | ||
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="6.0.0" /> | ||
<PackageReference Include="Microsoft.Extensions.Options.DataAnnotations" Version="6.0.0" /> | ||
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="6.0.0" /> | ||
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="6.0.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\ACME.Protocol.Abstractions\ACME.Protocol.Abstractions.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<COMReference Include="CERTENROLLLib.dll"> | ||
<Guid>728ab348-217d-11da-b2a4-000e7bbb2b09</Guid> | ||
<VersionMajor>1</VersionMajor> | ||
<VersionMinor>0</VersionMinor> | ||
<WrapperTool>tlbimp</WrapperTool> | ||
<Lcid>0</Lcid> | ||
<Isolated>false</Isolated> | ||
</COMReference> | ||
<COMReference Include="CERTCLILib.dll"> | ||
<Guid>372fce32-4324-11d0-8810-00a0c903b83c</Guid> | ||
<VersionMajor>1</VersionMajor> | ||
<VersionMinor>0</VersionMinor> | ||
<WrapperTool>tlbimp</WrapperTool> | ||
<Lcid>0</Lcid> | ||
<Isolated>false</Isolated> | ||
</COMReference> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" /> | ||
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="8.0.0" /> | ||
<PackageReference Include="Microsoft.Extensions.Options.DataAnnotations" Version="8.0.0" /> | ||
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="8.0.0" /> | ||
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="8.0.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\ACME.Protocol.Abstractions\ACME.Protocol.Abstractions.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/ACME.Protocol.Abstractions/ACME.Protocol.Abstractions.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.