草庐IT

Cryptography_HAS_SSL_ST

全部标签

Ubuntu 报错 WARNING:gateway4 has been deprecated, use default routes instead... 解决方案

在/etc/netplan/50-cloud-init.yaml下配置静态网络:network:ethernets:eth0:dhcp4:falseaddresses:[192.168.1.11/24]optional:truegateway4:192.168.1.1nameservers:addresses:[192.168.1.1]version:2配置完成后应用网络配置的时候出现以下报错:root@k8s-master-01:~#netplanapply**(generate:234574):WARNING**:14:21:04.809:`gateway4`hasbeendeprecat

XP连接高版本SQLServer提示:ConnectionOpen(SECDoClientHandShake())SSL安全错误解决方案

问题描述使用VB6等古董开发连接高版本SQLServer数据库(我这里是SqlServer2019)的程序时,使用向导配置会提示ConnectionOpen(SECDoClientHandShake())SSL安全错误,而无法正常读写 产生原因连接SQLServer是通过调用本地ODBCSqlServer驱动实现的,但是XP由于太过久远而不支持TLS1.1或者是1.2(具体不太清楚),XPSP3停止了更新,但是POSREADY2009持续更新了很长时间,这两个本质是一样的,也就是说可以通过修改系统借用一部分POSREADY2009的补丁从而让XP支持更新的TLS。解决方案1、下载这几个补丁文件

解决 javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path buildin

接口访问https的网址时,报以下错误:javax.net.ssl.SSLHandshakeException:sun.security.validator.ValidatorException:PKIXpathbuildingfailed:sun.security.provider.certpath.SunCertPathBuilderException:unabletofindvalidcertificationpathtorequestedtarget原因:JAVA的证书库里已经带了startsslca证书,而nginx默认不带startsslca证书,这样JAVA端访问nginx为容器

Xcode 6.3 解析 SDK 1.7.1 PFTableViewCell 错误 "has incompatible type"

我的代码:overridefunctableView(tableView:UITableView,cellForRowAtIndexPathindexPath:NSIndexPath,object:PFObject)->PFTableViewCell{varcell=tableView.dequeueReusableCellWithIdentifier("CustomCell")as!CustomTableViewCell!ifcell==nil{cell=CustomTableViewCell(style:UITableViewCellStyle.Default,reuseIdent

SSL账号申请及配置

摘自个人印象笔记https://app.yinxiang.com/fx/db244155-c858-4d8a-93a8-08071d168dc8ssl申请平台:https://blog.freessl.cn/ajian51168@qq.com…操作说明:https://blog.freessl.cn/acme-quick-start/nginx配置:upstreamlocal_tomcat{server127.0.0.1:8080;}server{listen80;#listen[::]:80;server_namemiyuhua.scmhbk.com;indexindex.htmlindex

ios - "Cannot override ' init ' which has been marked unavailable"防止覆盖空 init

我有一种情况,我试图重写NSError来为我提供一个我将要重复使用的错误实例。在我更新Xcode并转换为Swift2之前,我的代码一直有效。publicclassNAUnexpectedResponseTypeError:NSError{publicconvenienceinit(){letmessasge="TheobjectfetchedbyAFNetworkingwasnotofanexpectedtype."self.init(domain:"MyDomain",code:6782,userInfo:[NSLocalizedDescriptionKey:messasge])}}

ios - 使用 Swift 3 的 Alamofire 4.0 出现 "has no member"错误

我在Swift3.0中使用了Alamofire4.0,但遇到了以下代码的问题Type'Method'(aka'OpaquePointer')hasnomember'GET'Type'Method'(aka'OpaquePointer')hasnomember'PUT'Type'Method'(aka'OpaquePointer')hasnomember'POST'Type'Method'(aka'OpaquePointer')hasnomember'PATCH'Type'Method'(aka'OpaquePointer')hasnomember'DELETE'枚举定义:enumMet

swift - 错误 : value of type 'String' has no member 'Generator' in Swift

这个问题在这里已经有了答案:IteratethroughaStringSwift2.0(4个答案)关闭7年前。我在Swift中有这段代码:varpassword="MeetmeinSt.Louis"forcharacterinpassword{ifcharacter=="e"{print("foundane!")}else{}}抛出以下错误:valueoftype'String'hasnomember'Generator'inSwiftinline:forcharacterinpassword我试图在网上找到可能的错误,但我找不到(而且我是Swift的新手,并且试图通过语言的特性来导航

[ESP][驱动]ST7701S RGB屏幕驱动

ST7701SForESPST7701SESP系列驱动,基于ESP-IDF5.0,ESP32S3编写。本库只负责SPI的配置,SPI设置屏幕两方面。由于RGB库和图形库的配置无法解耦,具体使用的RGB库,图形库需要自行配置添加,本示例默认绑定LVGLSPI的指令,地址配置信息来源较多,其中有从Arduino_GFX库中移植。本库使用面向对象思想编程,支持多设备多实例,但不建议Github,Gitee同步更新,Gitee仅作为下载仓库,提交Issue和Pullrequest请到GithubGithub:https://github.com/taxue-alfred/ST7701SForESPGi

ios - Collection View :cellForItemAtIndexPath: why my view has zero subviews?

请考虑以下代码:funccollectionView(collectionView:UICollectionView,cellForItemAtIndexPathindexPath:NSIndexPath)->UICollectionViewCell{letcell=collectionView.dequeueReusableCellWithReuseIdentifier("DataItemCell",forIndexPath:indexPath)asDataItemCollectionViewCellprintln("\(cell.parametersView.subviews.co