Need help accessing scripts in company website

Hi, i need urgent help about trying to access a custom package behind a company proxy. Before changing machines, everything was working but now its not. what is weird is that i can access the website in my browser and its marked as safe because the certificates are correctly installed. But unity can’t access somehow and it always gives the same error. I have tried a lot of things including creating .upmconfig.toml and .npmrc file in users folder, reading unity’s documentation, reinstalling unity…

The error:
An error occurred while resolving packages:
Project has invalid dependencies:
com.unity.addressables: unable to verify the first certificate
com.mycompanysite.corescripts: unable to verify the first certificate

A re-import of the project may be required to fix the issue or a manual modification of C:/Users/myuser/Documents/myproject/Packages/manifest.json file.

Click on Retry to relaunch Unity and reopen your project.

Click on Continue to launch Unity. Some or all packages may not be imported which may cause compilation errors.

My manifest.json is like so:
{
“registry”: “https:// mycompanysite. com/repository/unity-group/”,
“dependencies”: {
“com.unity.2d.sprite”: “1.0.0”,
“com.unity.2d.tilemap”: “1.0.0”,
“com.unity.addressables”: “1.20.3”,
“com.unity.cinemachine”: “2.10.0”,
“com.unity.ext.nunit”: “1.0.6”,
“com.unity.ide.visualstudio”: “2.0.22”,
“com.unity.ide.vscode”: “1.2.5”,
“com.unity.postprocessing”: “3.4.0”,
“com.unity.render-pipelines.universal”: “12.1.15”,
“com.unity.test-framework”: “1.1.33”,
“com.unity.textmeshpro”: “3.0.6”,
“com.unity.timeline”: “1.6.5”,
“com.unity.ugui”: “1.0.0”,
“com.company.corescripts”: “1.2.0-rc96”,
“com.unity.modules.ai”: “1.0.0”,
“com.unity.modules.androidjni”: “1.0.0”,
“com.unity.modules.animation”: “1.0.0”,
“com.unity.modules.assetbundle”: “1.0.0”,
“com.unity.modules.audio”: “1.0.0”,
“com.unity.modules.cloth”: “1.0.0”,
“com.unity.modules.director”: “1.0.0”,
“com.unity.modules.imageconversion”: “1.0.0”,
“com.unity.modules.imgui”: “1.0.0”,
“com.unity.modules.jsonserialize”: “1.0.0”,
“com.unity.modules.particlesystem”: “1.0.0”,
“com.unity.modules.physics”: “1.0.0”,
“com.unity.modules.physics2d”: “1.0.0”,
“com.unity.modules.screencapture”: “1.0.0”,
“com.unity.modules.terrain”: “1.0.0”,
“com.unity.modules.terrainphysics”: “1.0.0”,
“com.unity.modules.tilemap”: “1.0.0”,
“com.unity.modules.ui”: “1.0.0”,
“com.unity.modules.uielements”: “1.0.0”,
“com.unity.modules.umbra”: “1.0.0”,
“com.unity.modules.unityanalytics”: “1.0.0”,
“com.unity.modules.unitywebrequest”: “1.0.0”,
“com.unity.modules.unitywebrequestassetbundle”: “1.0.0”,
“com.unity.modules.unitywebrequestaudio”: “1.0.0”,
“com.unity.modules.unitywebrequesttexture”: “1.0.0”,
“com.unity.modules.unitywebrequestwww”: “1.0.0”,
“com.unity.modules.vehicles”: “1.0.0”,
“com.unity.modules.video”: “1.0.0”,
“com.unity.modules.vr”: “1.0.0”,
“com.unity.modules.wind”: “1.0.0”,
“com.unity.modules.xr”: “1.0.0”
}
}

My .upmconfig.toml file structure:
registry = “htt ps://mycompany.com/repository/unity-group/”
cafile = “C:\Users\myuser\certificates\allcerts.pem”

My .npmrc file structure:
cafile=C:\Users\myuser\certificates\allcerts.pem
registry=https: //mycompany. com/repository/npm-group/
//mycompany. com/repository/unity-hosted/:_authToken=NpmToken.9999-9999-999-9999-9999
//mycompany. com/repository/npm-group/:_authToken=NpmToken.9999-9999-999-9999-cf1a38973d05

Please, can someone help me with this? If you need more information, please ask.

Moving upmconfig.toml (with this exact name) to folder “C:\ProgramData\Unity\config” (had to create this folder) and changing cafile to caFile solved the problem :man_facepalming: