Proper optim pkg install

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
    run it with julia
    It failed with err below
    ΠWarning: could not download
    │ exception = RequestError: schannel: SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate chain was issued by an authority that is not trusted. while requesting
    â”” @ 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

Julia is having trouble establishing a secure SSL connection to . It seems the SSL certificates are corrupted somehow.

Could you tell us more about how you installed Julia?