UPM - Self-signed certificates

Hi all!

I’m trying to retrieve packages from a private repo, including unity packages and my own. But i’m having trouble making upm trust the repo certificate.

So when i add this line on the manifest file:

{

  "registry": "https://nexus.intra.COMPANY.com/repository/unity-proxy/",

  "dependencies": {
    "com.unity.ads": "2.3.1",
    ......

i get this error on the editor.

I follow the steps on this page (Unity - Manual: Diagnose network issues)

But i didn’t found the upm-config.json location, so i created a folder called config, (C:\ProgramData\Unity\config) with the certificate and a upm-config.json, pointing to that certificate.

What do i need to change in order for this to work?

Best regards
João Ferreira

hi Joao, that part of the doc was released prematurely, this feature is only available in 2019.2.
Is moving to a beta version an option for you? otherwise, what you could do is install 2019.2 somewhere, then grab that version of “UnityPackageManager.exe” and use that in your 2019.1 release instead.

Thank you Erik, i did that workarround.

Your colleague reply in PM to this thread
https://discussions.unity.com/t/740997

Another note, on this documentation (https://docs.unity3d.com/Manual/CustomPackages.html)
The link in step 10, point to a not found page.

Best regards