@@ -133,28 +133,33 @@ Ubuntu 16.04. See issue [#9](https://github.com/swisscom/PowerGRR/issues/9).
133
133
134
134
** Client certificate authentication using PowerShell Core**
135
135
136
- The client certificate authentication is currently not supported in PowerShell
137
- Core 6.0.0-beta.5 release packages on Github (see issue [ #8 ] ( https://github.com/swisscom/PowerGRR/issues/8 ) ).
136
+ The client certificate authentication using certificate files without the Windows certificate
137
+ store is currently not supported in PowerShell Core 6.0.0-beta.5 release packages on
138
+ Github (see issue [ #8 ] ( https://github.com/swisscom/PowerGRR/issues/8 ) ). Only certificate authentication
139
+ using the Windows certificate store is supported as of PowerShell Core 6.0.0-beta.5.
138
140
_ This is a known issue in PowerShell Core and is tracked in the following
139
141
[ issue #4544 ] ( https://github.com/PowerShell/PowerShell/issues/4544 ) and corresponding
140
142
[ PowerShell Core pull request #4546 ] ( https://github.com/PowerShell/PowerShell/pull/4546 ) _ .
143
+ In combination with the missing certificate store support on non-Windows platforms, as
144
+ tracked in [ #1865 ] ( https://github.com/PowerShell/PowerShell/issues/1865 ) , certificate authentication
145
+ is not possible on non-Windows platforms.
141
146
142
- Certificate authentication is currently only supported when using a custom
143
- PowerShell Core build with the patch mentioned by @markekraus
147
+ Certificate authentication based on certificate files is currently only supported when using
148
+ a custom PowerShell Core build with the patch mentioned by @markekraus
144
149
on [ #4544 ] ( https://github.com/PowerShell/PowerShell/issues/4544 ) . See Mark's comments or
145
150
build commands below regarding the used commands to build PowerShell Core from
146
151
scratch on your platform (no special environment is needed and reserve a
147
152
20min-:coffee : -break).
148
153
149
- The certificate handling was tested on Windows with
154
+ The authentication based on certificate files was tested on Windows with
150
155
PowerShell v5 and on Windows and Ubuntu 16.04 with PowerShell Core
151
156
6.0.0-beta.5 with the needed code changes.
152
157
153
158
You can build your own PowerShell Core binaries _ after_ you installed
154
159
an available PowerShell version first, see section [ PowerShell] ( #powershell )
155
160
in requirements above.
156
161
157
- 1 . Fix the code in the file
162
+ * ** Fix the code in the file**
158
163
_ PowerShell/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/CoreCLR/WebRequestPSCmdlet.CoreClr.cs_
159
164
in your PowerShell Core clone on line 167 to this lines:
160
165
@@ -168,10 +173,11 @@ in requirements above.
168
173
Build the binaries based on your clone for the platform your are currently running the commands on:
169
174
170
175
```
171
- powershell -noprofile -ExecutionPolicy bypass -command 'Import-Module ./build.psm1; Sync-PSTags; Start-PSBootstrap; Start-PSBuild'
176
+ $ cd <folder-of-your-PowerShell-clone>
177
+ $ powershell -noprofile -ExecutionPolicy bypass -command 'Import-Module ./build.psm1; Sync-PSTags; Start-PSBootstrap; Start-PSBuild'
172
178
```
173
179
174
- 2. Build PowerShell Core based on Mark's fork:
180
+ * ** Build PowerShell Core based on Mark's fork** :
175
181
176
182
```
177
183
mkdir ~/gittest
0 commit comments