pbootcms网站模板|日韩1区2区|织梦模板||网站源码|日韩1区2区|jquery建站特效-html5模板网

  • <small id='QQyae'></small><noframes id='QQyae'>

  • <tfoot id='QQyae'></tfoot>
      <bdo id='QQyae'></bdo><ul id='QQyae'></ul>
  • <legend id='QQyae'><style id='QQyae'><dir id='QQyae'><q id='QQyae'></q></dir></style></legend>

      1. <i id='QQyae'><tr id='QQyae'><dt id='QQyae'><q id='QQyae'><span id='QQyae'><b id='QQyae'><form id='QQyae'><ins id='QQyae'></ins><ul id='QQyae'></ul><sub id='QQyae'></sub></form><legend id='QQyae'></legend><bdo id='QQyae'><pre id='QQyae'><center id='QQyae'></center></pre></bdo></b><th id='QQyae'></th></span></q></dt></tr></i><div class="88y7xnp" id='QQyae'><tfoot id='QQyae'></tfoot><dl id='QQyae'><fieldset id='QQyae'></fieldset></dl></div>

        帶有 SSL 證書的 PHP SOAP 客戶端

        PHP SOAP client with certificates over SSL(帶有 SSL 證書的 PHP SOAP 客戶端)

              • <bdo id='jGSSd'></bdo><ul id='jGSSd'></ul>

                <small id='jGSSd'></small><noframes id='jGSSd'>

                <tfoot id='jGSSd'></tfoot>
                  <tbody id='jGSSd'></tbody>
                • <legend id='jGSSd'><style id='jGSSd'><dir id='jGSSd'><q id='jGSSd'></q></dir></style></legend>
                  <i id='jGSSd'><tr id='jGSSd'><dt id='jGSSd'><q id='jGSSd'><span id='jGSSd'><b id='jGSSd'><form id='jGSSd'><ins id='jGSSd'></ins><ul id='jGSSd'></ul><sub id='jGSSd'></sub></form><legend id='jGSSd'></legend><bdo id='jGSSd'><pre id='jGSSd'><center id='jGSSd'></center></pre></bdo></b><th id='jGSSd'></th></span></q></dt></tr></i><div class="lskxe7s" id='jGSSd'><tfoot id='jGSSd'></tfoot><dl id='jGSSd'><fieldset id='jGSSd'></fieldset></dl></div>

                  本文介紹了帶有 SSL 證書的 PHP SOAP 客戶端的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  我正在嘗試使用以下代碼設置 Soap 客戶端:

                  I'm trying to set up a Soap client with the following code:

                  <?php
                  $wsdl           = 'https://domain.com/?wsdl';
                  $endpoint       = 'https://domain.com';
                  $certificate    = dirname(__FILE__) . '/CertWithKey.pem';
                  $password       = 'pwd';
                  
                  $options = array(
                      'location'      => $endpoint,
                      'keep_alive'    => true,
                      'trace'         => true,
                      'local_cert'    => $certificate,
                      'passphrase'    => $password,
                      'cache_wsdl'    => WSDL_CACHE_NONE
                  );
                  
                  try {
                      $soapClient = new SoapClient($wsdl, $options);
                  } catch(Exception $e) {
                      var_dump($e);
                  }
                  

                  我得到了一個帶有 .crt 認證文件的 .p12 密鑰文件.使用 openssl 我已將 .p12 文件轉換為 .pem 文件,然后將其與 .crt 文件合并.CertWithKey.pem 看起來不錯,文件中有兩個證書塊.

                  I was given a .p12 key-file with a .crt certification file. Using openssl I've converted the .p12-file to a .pem-file and then merged it with the .crt-file. The CertWithKey.pem looks good to me, two certificate-blocks are in the file.

                  無論我嘗試做什么,我總是收到一個異常消息 SOAP-ERROR: Parsing WSDL: 無法從https://domain.com/?wsdl"加載:加載失敗外部實體https://domain.com/?wsdl".

                  No matter what I try to do, I keep getting an exception with the message SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://domain.com/?wsdl' : failed to load external entity "https://domain.com/?wsdl".

                  在與遠程方通話后,他們承認有請求進入,但他們記錄了此錯誤:ssl 握手被系統中斷 [提示:在瀏覽器中按下停止按鈕?!].

                  After phoning with the remote party they acknowlegde that a request is coming in but they're logging this error: ssl handshake interrupted by system [hint: stop button pressed in browser?!].

                  由于目前我在網上沒有找到任何有用的信息,所以我想請教大家對此事的一些見解.

                  Since I didn't find any useful information on the net so far I figured to ask you guys for some insight on the matter.

                  有什么建議可以嘗試嗎?我正在運行 PHP 5.3.8,并且服務器的 IP 地址在遠程方的防火墻中被列入白名單.

                  Any suggestions what can be tried? I'm running PHP 5.3.8 and the server's IP-address is white listed in the firewall at the remote party.

                  推薦答案

                  我已經解決了這個問題.我認為,由于有關此問題的問題數量和不同解決方案的數量,其他人將從該解決方案中受益.這是:

                  I've fixed this problem. I think, due to the number of questions regarding this issue and number of different solutions, others will benefit from the solution. Here goes:

                  我使用 openssl CLI 程序將 .p12 密鑰文件轉換為 .pem 密鑰文件.訣竅在于轉換發生的方式.

                  I used the openssl CLI program to convert the .p12 key-file to a .pem key-file. The trick is the way the conversion takes place.

                  首先我用這個命令轉換它,我遇到了問題中描述的問題:

                  First I converted it with this command and I had the issue as described in the question:

                  openssl pkcs12 -in key.p12 -out key.pem -nodes -clcerts

                  雖然下面的命令做了實際的技巧:

                  While the command below did the actual trick:

                  openssl pkcs12 -in key.p12 -out key.pem -clcerts

                  有關更多信息,請參閱我使用的來源:https://community.qualys.com/文檔/DOC-3273

                  For more info please see the source I used: https://community.qualys.com/docs/DOC-3273

                  這篇關于帶有 SSL 證書的 PHP SOAP 客戶端的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  enable SOAP on PHP(在 PHP 上啟用 SOAP)
                  Get received XML from PHP SOAP Server(從 PHP SOAP 服務器獲取接收到的 XML)
                  not a valid AllXsd value(不是有效的 AllXsd 值)
                  PHP SoapClient: SoapFault exception Could not connect to host(PHP SoapClient:SoapFault 異常無法連接到主機)
                  Implementation of P_SHA1 algorithm in PHP(PHP中P_SHA1算法的實現)
                  Sending a byte array from PHP to WCF(將字節數組從 PHP 發送到 WCF)

                    <tbody id='AiTWn'></tbody>
                  <i id='AiTWn'><tr id='AiTWn'><dt id='AiTWn'><q id='AiTWn'><span id='AiTWn'><b id='AiTWn'><form id='AiTWn'><ins id='AiTWn'></ins><ul id='AiTWn'></ul><sub id='AiTWn'></sub></form><legend id='AiTWn'></legend><bdo id='AiTWn'><pre id='AiTWn'><center id='AiTWn'></center></pre></bdo></b><th id='AiTWn'></th></span></q></dt></tr></i><div class="3q7268r" id='AiTWn'><tfoot id='AiTWn'></tfoot><dl id='AiTWn'><fieldset id='AiTWn'></fieldset></dl></div>

                    1. <tfoot id='AiTWn'></tfoot>
                    2. <legend id='AiTWn'><style id='AiTWn'><dir id='AiTWn'><q id='AiTWn'></q></dir></style></legend>

                        1. <small id='AiTWn'></small><noframes id='AiTWn'>

                            <bdo id='AiTWn'></bdo><ul id='AiTWn'></ul>
                            主站蜘蛛池模板: 恒温振荡混匀器-微孔板振荡器厂家-多管涡旋混匀器厂家-合肥艾本森(www.17world.net) | 彼得逊采泥器-定深式采泥器-电动土壤采样器-土壤样品风干机-常州索奥仪器制造有限公司 | 防火卷帘门价格-聊城一维工贸特级防火卷帘门厂家▲ | 建筑资质代办-建筑资质转让找上海国信启航| 烽火安全网_加密软件、神盾软件官网 | 泰来华顿液氮罐,美国MVE液氮罐,自增压液氮罐,定制液氮生物容器,进口杜瓦瓶-上海京灿精密机械有限公司 | 杭州公司变更法人-代理记账收费价格-公司注销代办_杭州福道财务管理咨询有限公司 | 下水道疏通_管道疏通_马桶疏通_附近疏通电话- 立刻通 | 汕头市盛大文化传播有限公司,www.11400.cc | 拉力机-万能试验机-材料拉伸试验机-电子拉力机-拉力试验机厂家-冲击试验机-苏州皖仪实验仪器有限公司 | 电机修理_二手电机专家-河北豫通机电设备有限公司(原石家庄冀华高压电机维修中心) | 磁力加热搅拌器-多工位|大功率|数显恒温磁力搅拌器-司乐仪器官网 | 集装箱标准养护室-集装箱移动式养护室-广州璟业试验仪器有限公司 | 工业机械三维动画制作 环保设备原理三维演示动画 自动化装配产线三维动画制作公司-南京燃动数字 聚合氯化铝_喷雾聚氯化铝_聚合氯化铝铁厂家_郑州亿升化工有限公司 | 武汉高温老化房,恒温恒湿试验箱,冷热冲击试验箱-武汉安德信检测设备有限公司 | 知网论文检测系统入口_论文查重免费查重_中国知网论文查询_学术不端检测系统 | 对照品_中药对照品_标准品_对照药材_「格利普」高纯中药标准品厂家-成都格利普生物科技有限公司 澳门精准正版免费大全,2025新澳门全年免费,新澳天天开奖免费资料大全最新,新澳2025今晚开奖资料,新澳马今天最快最新图库 | 铜镍-康铜-锰铜-电阻合金-NC003 - 杭州兴宇合金有限公司 | 广东机电安装工程_中央空调工程_东莞装饰装修-广东粤标建设有限公司 | 上海防爆真空干燥箱-上海防爆冷库-上海防爆冷柜?-上海浦下防爆设备厂家? | 欧洲MV日韩MV国产_人妻无码一区二区三区免费_少妇被 到高潮喷出白浆av_精品少妇自慰到喷水AV网站 | 精密五金冲压件_深圳五金冲压厂_钣金加工厂_五金模具加工-诚瑞丰科技股份有限公司 | 直齿驱动-新型回转驱动和回转支承解决方案提供商-不二传动 | 自动螺旋上料机厂家价格-斗式提升机定制-螺杆绞龙输送机-杰凯上料机 | 沈阳液压泵_沈阳液压阀_沈阳液压站-沈阳海德太科液压设备有限公司 | 温室大棚建设|水肥一体化|物联网系统 | 河南mpp电力管_mpp电力管生产厂家_mpp电力电缆保护管价格 - 河南晨翀实业 | NBA直播_NBA直播免费观看直播在线_NBA直播免费高清无插件在线观看-24直播网 | 防腐储罐_塑料储罐_PE储罐厂家_淄博富邦滚塑防腐设备科技有限公司 | 塑料检查井_双扣聚氯乙烯增强管_双壁波纹管-河南中盈塑料制品有限公司 | 热处理温控箱,热处理控制箱厂家-吴江市兴达电热设备厂 | 福州甲醛检测-福建室内空气检测_环境检测_水质检测-福建中凯检测技术有限公司 | 篮球地板厂家_舞台木地板品牌_体育运动地板厂家_凯洁地板 | 煤粉取样器-射油器-便携式等速飞灰取样器-连灵动 | 立式壁挂广告机厂家-红外电容触摸一体机价格-华邦瀛 | 冷柜风机-冰柜电机-罩极电机-外转子风机-EC直流电机厂家-杭州金久电器有限公司 | 密封圈_泛塞封_格莱圈-[东莞市国昊密封圈科技有限公司]专注密封圈定制生产厂家 | 皮带机-带式输送机价格-固定式胶带机生产厂家-河南坤威机械 | 银川美容培训-美睫美甲培训-彩妆纹绣培训-新娘化妆-学化妆-宁夏倍莱妮职业技能培训学校有限公司 临时厕所租赁_玻璃钢厕所租赁_蹲式|坐式厕所出租-北京慧海通 | 盘扣式脚手架-附着式升降脚手架-移动脚手架,专ye承包服务商 - 苏州安踏脚手架工程有限公司 | 大_小鼠elisa试剂盒-植物_人Elisa试剂盒-PCR荧光定量试剂盒-上海一研生物科技有限公司 |