-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCAPI2Tools.psd1
More file actions
148 lines (116 loc) · 5.68 KB
/
CAPI2Tools.psd1
File metadata and controls
148 lines (116 loc) · 5.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
@{
# Script module or binary module file associated with this manifest.
RootModule = 'CAPI2Tools.psm1'
# Version number of this module.
ModuleVersion = '2.13.0'
# Supported PSEditions
CompatiblePSEditions = @('Desktop', 'Core')
# ID used to uniquely identify this module
GUID = '3228f1cd-8cca-4839-b9aa-7c93c83a917e'
# Author of this module
Author = 'Jan Tiedemann'
# Company or vendor of this module
CompanyName = 'Jan Tiedemann'
# Copyright statement for this module
Copyright = '(c) 2022-2025 Jan Tiedemann. All rights reserved. Licensed under GNU GPL v3.'
# Description of the functionality provided by this module
Description = @'
CAPI2 Event Log Correlation Analysis Toolkit - A comprehensive PowerShell module for analyzing Windows
certificate validation chains, troubleshooting TLS/SSL connections, and diagnosing CAPI2 cryptographic errors.
Features:
- Simplified one-command workflow with Get-CapiCertificateReport (NEW in v2.6)
- Automatic certificate chain discovery by DNS/certificate name
- Intelligent error analysis with human-readable descriptions
- Event log management (enable, disable, clear, status)
- Export functionality (CSV, JSON, HTML, XML)
- Before/after comparison for tracking fix progress
- Built-in error code dictionary with resolution steps
'@
# Minimum version of the PowerShell engine required by this module
PowerShellVersion = '5.1'
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
FunctionsToExport = @(
# Simplified Workflow (Recommended)
'Get-CapiCertificateReport',
# Search and Retrieval
'Find-CapiEventsByName',
'Get-CapiTaskIDEvents',
'Get-CapiAllErrors',
# Analysis
'Get-CapiErrorAnalysis',
# Export
'Export-CapiEvents',
# Comparison
'Compare-CapiEvents',
# Event Log Management
'Enable-CAPI2EventLog',
'Disable-CAPI2EventLog',
'Clear-CAPI2EventLog',
'Get-CAPI2EventLogStatus',
# Workflow Helpers
'Start-CAPI2Troubleshooting',
'Stop-CAPI2Troubleshooting'
)
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
CmdletsToExport = @()
# Variables to export from this module
VariablesToExport = @()
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
AliasesToExport = @(
'Find-CertEvents',
'Get-CertChain',
'Get-AllErrors',
'Enable-CapiLog',
'Disable-CapiLog',
'Clear-CapiLog'
)
# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
PrivateData = @{
PSData = @{
# Tags applied to this module. These help with module discovery in online galleries.
Tags = @('CAPI2', 'Certificate', 'TLS', 'SSL', 'Troubleshooting', 'PKI', 'EventLog', 'Security', 'Windows')
# A URL to the license for this module.
LicenseUri = 'https://www.gnu.org/licenses/gpl-3.0.en.html'
# A URL to the main website for this project.
ProjectUri = 'https://github.com/BetaHydri/GetCapiCorrelationTask'
# ReleaseNotes of this module
ReleaseNotes = @'
## Version 2.12.0 (December 2025)
### New Features
- X.509 Certificate Information display from Event 90
- Subject Alternative Names (SANs) - DNS, UPN, Email addresses
- Smart end-entity certificate selection (excludes CA certificates)
- Enhanced HTML reports with certificate details section
- 25+ CAPI2 Event IDs mapped (CRL Retrieval, CTL Operations, Network Retrieval)
- TaskID format normalization (handles {GUID} and GUID formats)
- Robust XML namespace handling with GetElementsByTagName
### Improvements
- Certificate box display with validity color indicators
- Complete certificate details (Subject CN, Issuer, Serial, Validity)
- Fixed string multiplication errors in certificate display code
- Certificate display now conditional on -ShowEventChain parameter
### Breaking Changes
- Removed partial GUID (8-character) search support
- Only full GUID format accepted for TaskID searches
## Version 2.11.0 (December 2025)
- Event chain display with -ShowEventChain parameter
- AuxInfo sequence numbers for chronological ordering
- Task Categories display (Build Chain, X509 Objects, Verify Chain Policy)
## Version 2.10.1 (December 2025)
- Event ID 82 support, 13 new error codes
- Certificate thumbprint extraction and display
## Version 2.5.0 (December 2025)
- Converted to PowerShell module
- Comprehensive error analysis and multi-format export
'@
# Prerelease string of this module
# Prerelease = ''
# Flag to indicate whether the module requires explicit user acceptance for install/update/save
# RequireLicenseAcceptance = $false
# External dependent modules of this module
# ExternalModuleDependencies = @()
}
}
# HelpInfo URI of this module
HelpInfoURI = 'https://github.com/BetaHydri/GetCapiCorrelationTask/blob/master/README.md'
}