草庐IT

bad_certificate

全部标签

c# - 无法读取 X509Certificate2 上的私钥

Win8.164位。.NET4.5。动力外壳4.0。(虽然我认为这个问题一般与.NET有关,而不是特定于Powershell。)我生成一个这样的自签名证书:New-SelfSignedCertificate-DnsName'TheIncredibleHulk'-CertStoreLocationCert:\CurrentUser\My然后我检索证书:$Cert=Get-ItemCert:\CurrentUser\My\9E5A8322B890DA1247BD98BDAB288CA9D11CF99E证书有私钥:$Cert.HasPrivateKeyTrue或者是吗?$Cert.Priva

php - 在 Windows 上发出 PHP cURL 请求从代理中产生 "400 Bad Request"

早上好基本上,由于涉及代理服务器的问题,我无法从我的Windows7开发PC向内部和外部服务器发出成功的cURL请求。我在Apache2.4上通过PHP5.3.6运行cURL7.21.2。这是一个失败的最基本的请求:TRUE,CURLOPT_VERBOSE=>TRUE,CURLOPT_HEADER=>TRUE,CURLOPT_STDERR=>$log_file,));$response=curl_exec($curl);@fclose($log_file);print"{$response}";收到以下(完整)响应。HTTP/1.1400BadRequestDate:Thu,06Sep

c++ - 使用 log4cplus 运行代码时出现 bad_alloc 错误

我一直在尝试在我的PC上运行这个log4cplus示例:http://log4cplus.sourceforge.net/loglevel.html我使用VS2010创建了我的LogLevel项目,我使用的是log4cplusv1.1.0。我的程序编译正常,但是当我执行这一行时Loggerlogger=Logger::getInstance(LOG4CPLUS_TEXT("main"));我收到以下错误:Unhandledexceptionat0x75d5d3cfinLogLevel.exe:MicrosoftC++exception:std::bad_allocatmemoryloc

Python SSL : CERTIFICATE_VERIFY_FAILED

在使用Windows8.1的相当新的机器上使用Python2.7.12连接到www.mydomain.com时出现错误。错误是SSL:CERTIFICATE_VERIFY_FAILED在下面代码的ssl_sock.connect行。该代码在上下文中包装了一个SSL连接,并指定我不想执行证书验证:ssl._create_default_https_context=ssl._create_unverified_contexts_=socket.socket(socket.AF_INET,socket.SOCK_STREAM)context=ssl.SSLContext(ssl.PROTOC

windows - 如何修复 "an error occurred while attempting to load the signing certificate from"PFX 文件?

我在装有.NET1.1的WindowsXPProfessional机器上安装了signtool.exe。属性对话框中显示的版本为5.2.3790.2568。我还在同一台机器上安装了带有OpenSSH的Cygwin。无论如何,当我在本地运行该工具时-一切正常,请观察:D:\WORK\workspace>type1.cmdd:\work\workspace\VE\CodeSign\signtool.exesign/fd:\work\workspace\VE\CodeSign\Shunra.pfx/p"shunrail"/thttp://timestamp.verisign.com/scri

windows - python : bad handshake error on get request when executed on windows but not linux

我写了一个python脚本来下载网站的内容,当我在linux机器上执行它时它工作得很好,但在windows上却不行(它需要在windows上执行)。这是生成错误的代码:importrequestsc=requests.Session()url='https://ted.jeancoutu.com/action/login'c.get(url)这是我在Windows机器上执行代码时收到的错误消息:Traceback(mostrecentcalllast):File"C:\Python34\lib\site-packages\requests\packages\urllib3\contri

windows - sh.exe":/bin/git bad file number when git -version

刚刚安装了git,当我运行gitbash并输入git-version时,我得到了这个错误:sh.exe":/bin/git:badfilenumber。在安装过程中,我遇到了一个错误,但安装继续进行:“无法配置结束转换core.autocrif的行。”GitGUI未启动,我收到错误消息:“Windows无法访问指定的设备、路径或文件。您可能没有适当的权限来访问该项目。”尝试以管理员身份运行不会改变它。 最佳答案 我偶尔会遇到这个问题(包括大约5分钟前),我通过重新安装Gitclient来“解决”它.

C++ Qt MingW bad reloc 0xc address in section rdata

我在带有MingW编译器的Windows1064位上使用Qt5.5。我正在尝试在Debug模式下编译我的项目=>完美运行但是在Release模式下,我有这些错误:undefinedreferenceto`TileMap::XYToNode(int,int)const'undefinedreferenceto`TileMap::XYToNode(int,int)const'./release\perso.o:badrelocaddress0xcinsection`.rdata'collect2.exe:-1:erreur:error:ldreturned1exitstatus我尝试过cl

windows - 从 Git Bash 运行 Ruby 时出现 "Bad Interpreter: No Medium"错误

我在运行时看到这个错误:来self的GitBash的rake/gem。谁知道这是什么意思?sh.exe":/c/Ruby/bin/gem:D:/Users/Luis/projects/oss/oci/installer2-trunk/ruby/bin/ruby.exe^M:badinterpreter:nomedium在Windows/Cygwin下运行-特别是在GitBashshell中。 最佳答案 感谢这个网站:http://www.liquidfish.net/2009/04/ruby-and-git-bash-woes.ht

windows - vagrant-proxyconf "` 拆分': bad URI"error on installing plugin for Vagrant

请注意,我在Windows环境中运行它。我在公司代理后面工作,并试图获得vagrant-proxyconf插件工作,因此可以将Vagrant机器设置为通过代理工作。但是,在执行vagrantplugininstallvagrant-proxyconf时,出现以下错误:Bundler,theunderlyingsystemVagrantusestoinstallplugins,reportedanerror.Theerrorisshownbelow.Theseerrorsareusuallycausedbymisconfiguredplugininstallationsortransie