Skip to content

TLS not working on custom PSResourceRepository #314

Open
@MS-LUF

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions