foundweekends / foundweekends/conscript
about ssl access error for setup.ps1
- 主要语言
- Scala
- 星标
- 477
- 派生
- 59
- 平均合并
- 1 小时 2 分钟
- 30 天内合并 PR
- 7
描述
My platform is windows 10, powershell version is 4.0:
I use admin command line, try to run setup.ps1, and get errors of SSL access:
```
::: ERRORS
Server access Error: java.security.NoSuchAlgorithmException: Default SSLContext not available url=https://dl.bintray.com/foundweekends/maven-releases/org/foundweekends/conscript/conscript_2.11/0.5.0/conscript_2.11-0.5.0.pom
Server access Error: java.security.NoSuchAlgorithmException: Default SSLContext not available url=https://dl.bintray.com/foundweekends/maven-releases/org/foundweekends/conscript/conscript_2.11/0.5.0/conscript_2.11-0.5.0.jar
Server access Error: java.security.NoSuchAlgorithmException: Default SSLContext not available url=https://oss.sonatype.org/content/repositories/releases/org/foundweekends/conscript/conscript_2.11/0.5.0/conscript_2.11-0.5.0.pom
Server access Error: java.security.NoSuchAlgorithmException: Default SSLContext not available url=https://oss.sonatype.org/content/repositories/releases/org/foundweekends/conscript/conscript_2.11/0.5.0/conscript_2.11-0.5.0.jar
Server access Error: java.security.NoSuchAlgorithmException: Default SSLContext not available url=https://repo1.maven.org/maven2/org/foundweekends/conscript/conscript_2.11/0.5.0/conscript_2.11-0.5.0.pom
Server access Error: java.security.NoSuchAlgorithmException: Default SSLContext not available url=https://repo1.maven.org/maven2/org/foundweekends/conscript/conscript_2.11/0.5.0/conscript_2.11-0.5.0.jar
```
I think it should do some setting for SSL connection, can not directly use System.Net.WebClient。
it should added something between those line in setup.ps1.
···
$wc = New-Object System.Net.WebClient
...
$wc.DownloadFile($url, "$CS/$LJ")
···
贡献指南
这个仓库没有索引到贡献指南
调研方向
从 setup.ps1 以及 System.Net.WebClient 的创建和 DownloadFile 调用开始,然后使用报告中显示的 URL,在 Windows 10 和 PowerShell 4.0 上重现该失败。完成的标准是 setup 过程可以访问这些 HTTPS 工件 URL,而不会出现报告中的 Default SSLContext 错误。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, powershell
- 领域
- tooling
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 30/100