logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

使用HttpClient发送Https请求时,出现异常PKIX path building failed: sun.security.provider.certpath.SunCertPathBuil

使用HttpClient发送Https请求时,出现异常为:PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target出现这个异常的原因为,客户端向服务器发送htt..

k8s安装nginx-ingress-controller

k8s版本为,v1.20.21、下载nginx-ingress-controller对应yaml下载地址:https://github.com/kubernetes/ingress-nginx/blob/main/deploy/static/provider/cloud/deploy.yaml如果地址不正确了,可以到github去找github(点击跳转)2、下载所需镜像deploy.yaml中有

#nginx#kubernetes#docker
docker打包多架构镜像(manifest)

可以实现docker多架构打包,这样不同的系统架构,也可以使用同一个镜像,就不用再给镜像每个镜像的版本后面拼接**-arm64。在执行pull操作时,客户端会自动将当前的架构发送给服务端,服务端则会响应对应架构的镜像。通过将多个镜像的清单文件,汇总成一个清单列表,为每个清单文件标注上对应架构。由于没有arm架构的机器,这里直接用tag,创建两个不同的镜像,模拟演示。本质上,外部看到的这个镜像,其实

#docker#架构#运维
使用HttpClient发送Https请求时,出现异常PKIX path building failed: sun.security.provider.certpath.SunCertPathBuil

使用HttpClient发送Https请求时,出现异常为:PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target出现这个异常的原因为,客户端向服务器发送htt..

无法安装程序包“xxx”。你正在尝试将此程序包安装到目标为“.NETFramework,Version=v4.5”的项目中

异常为:无法安装程序包“ClickHouse.Ado 1.1.21”。你正在尝试将此程序包安装到目标为“.NETFramework,Version=v4.5”的项目中从异常中其实就可以看出为什么安装程序包报错,不能将1.1.21版本的程序员安装到版本为v4.5的.NetFramework项目中,解决方法如下先到nuget官网找到你需要安装的程序包https://www.nuget.org...

Redisson实现分布式锁以及lock()方法源码,流程解析

创建Redisson这里创建了一个单体的Redisson,集群创建方式参考redisson官网@Value("${spring.redis.host}")String host;@Value("${spring.redis.port}")String port;@Value("${spring.redis.password}")String password;@Beanpublic Redisso

#java
暂无文章信息