Skip to content

TLS not working on custom PSResourceRepository #314

Description

@MS-LUF

Hello,

I am not able to communicate using TLS with my custom local PSResourceRepository. I am able to define it using a TLS URI. For instance :
Register-PSResourceRepository -Name Myrepo -Url 'https://myreposerver.tld/v3/index.json' -Trusted

But each time I am trying to use for instance 'Find-PSResource', the function is trying to communicate using HTTP only instead of HTTPS
Find-PSResource -Tags AzureADConnect -Repository Myrepo -Verbose
AVERTISSEMENT : This functionality is not yet implemented
Find-PSResource : Failed to retrieve metadata from source
'http://myreposerver.tld:443/v3/search?q=&skip=0&take=6000&prerelease=false&semVerLevel=2.0.0'.

I have done a network capture and there is no TLS nego between client and server, it's like TLS is not implemented on the client side at all. But it works for default PSGallery...

Any idea ?

Lucas.

Activity

  1. issue-label-bot commented on Dec 1, 2020

    @issue-label-bot

    Issue-Label Bot is automatically applying the label question to this issue, with a confidence of 0.60. Please mark this comment with 👍 or 👎 to give our bot feedback!

    Links: app homepage, dashboard and code for this bot.

  2. MS-LUF commented on Dec 1, 2020

    @MS-LUF
    Author

    More information about my context :
    OS : Windows 10 1809 - 10.0.17763.1577
    Powershell version used : 5.1
    nuget server : BaGet last release (https://loic-sharma.github.io/BaGet/)
    TLS version used by server and client 1.2
    PowershellGet version : 3.0.0-beta10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions