# Proper optim pkg install

**URL:** https://discourse.julialang.org/t/proper-optim-pkg-install/112806
**Category:** New to Julia
**Created:** [April 10, 2024, 10:19pm UTC](https://discourse.julialang.org/t/proper-optim-pkg-install/112806 "2024-04-10T22:19:03Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![dkn](https://avatars.discourse-cdn.com/v4/letter/d/77aa72/32.png) [@dkn](https://discourse.julialang.org/u/dkn)
#### Post date: [April 10, 2024, 10:19pm UTC](https://discourse.julialang.org/t/proper-optim-pkg-install/112806/1 "2024-04-10T22:19:04Z")

</div>

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](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](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

---

<div class="post-metadata">

### Author: ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)
#### Post date: [April 11, 2024, 12:56am UTC](https://discourse.julialang.org/t/proper-optim-pkg-install/112806/2 "2024-04-11T00:56:42Z")

</div>

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

Could you tell us more about how you installed Julia?
