Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion docs/pages/desktop-access/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,26 @@ to your Windows system, and prepare it for passwordless access through Teleport.

### Import the Teleport root certificate

Export the Teleport user certificate authority by running the following from your Windows system:
Export the Teleport user certificate authority by running the following from
`cmd.exe` on your Windows system:

```code
$ curl 'https://teleport-proxy.example.com:443/webapi/auth/export?type=windows' > teleport.cer
```

<Admonition type="warning" title="PowerShell">
Be sure to run the above command in `cmd.exe`. In PowerShell, `curl` is an alias for
[`Invoke-WebRequest`](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-7.3)
which has different semantics.

If you must use PowerShell, remove the alias before running curl with the
following command:

```
> Remove-Item alias:curl
```
</Admonition>

### Install the Teleport service for Windows

From the Windows system, download the [Teleport Windows Auth
Expand Down
3 changes: 1 addition & 2 deletions lib/auth/grpcserver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ import (
"github.com/gravitational/teleport/api/types"
"github.com/gravitational/teleport/api/types/installers"
"github.com/gravitational/teleport/api/utils"
apiutils "github.com/gravitational/teleport/api/utils"
"github.com/gravitational/teleport/api/utils/sshutils"
"github.com/gravitational/teleport/lib/auth/mocku2f"
"github.com/gravitational/teleport/lib/auth/testauthority"
Expand Down Expand Up @@ -1867,7 +1866,7 @@ func TestIsMFARequiredUnauthorized(t *testing.T) {
roleOpt := role.GetOptions()
roleOpt.RequireMFAType = types.RequireMFAType_SESSION
role.SetOptions(roleOpt)
role.SetNodeLabels(types.Allow, map[string]apiutils.Strings{"a": []string{"c"}})
role.SetNodeLabels(types.Allow, map[string]utils.Strings{"a": []string{"c"}})
err = srv.Auth().UpsertRole(ctx, role)
require.NoError(t, err)

Expand Down