Proper optim pkg install

Hello
I’ve been using MatLab for decade fo numerical analysis
Just foundout Julia and start using in Optimization
But Igot so much err in using Otim pkg even after pkg.add(“Optim”)
How to do it properly
The procedure below

  1. create JL file with content
    using Pkg
    Pkg.add(“Optimization”)
    Pkg.add(“OptimizationOptimJL”)
    run it with julia
    It failed with err below
    ΠWarning: could not download https://pkg.julialang.org/registries
    │ exception = RequestError: schannel: SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate chain was issued by an authority that is not trusted. while requesting https://pkg.julialang.org/registries
    â”” @ Pkg.Registry C:\SW_TOOL\Julia-1.10.2\share\julia\stdlib\v1.10\Pkg\src\Registry\Registry.jl:69
    Resolving package versions…
    No Changes to C:\Users\dkn\.julia\environments\v1.10\Project.toml
    No Changes to C:\Users\dkn\.julia\environments\v1.10\Manifest.toml
    Any idea how to fix it
    Sincerely appreciate
    DuyKy

Julia is having trouble establishing a secure SSL connection to https://pkg.julialang.org/registries . It seems the SSL certificates are corrupted somehow.

Could you tell us more about how you installed Julia?