日本不卡不码高清免费观看,久久国产精品久久w女人spa,黄色aa久久,三上悠亚国产精品一区二区三区

您的位置:首頁技術文章
文章詳情頁

linux - composer 的SSL錯誤

瀏覽:184日期:2024-07-04 10:39:09

問題描述

我用的是homestead 2.1.0,vagrant 1.9.2,composer用的是laravel-china的國內源,composer時報這個錯誤,請問怎么回事,該如何解決?

[ComposerDownloaderTransportException] The 'https://packagist.phpcomposer.com/p/laravel/lumen-framework%2422c8de2cf7a47c08baa33c23e6b2b6d557fdfd44011047b84c7dd03938bc1995.json' file could not be downloaded: SSL: Connection reset by peer failed to open stream: HTTP request failed!

網上尋找解決方案無果

誰能解決支付寶轉賬一頓早餐錢酬謝!?。。。。。。。。。。?/p>

linux - composer 的SSL錯誤

問題解答

回答1:

https://packagist.phpcomposer.com/p/laravel/lumen-framework%2422c8de2cf7a47c08baa33c23e6b2b6d557fdfd44011047b84c7dd03938bc1995.json這個url可以訪問文件,你可以直接拷貝下來,在根目錄下命名為composer.json,再重新執行

回答2:

先檢查你的php是否安裝了openssl,如果安裝了還報錯,在C:usrlocalssl建立openssl.cnf,內容如下,這是NT版本編譯寫死的路徑。

## OpenSSL example configuration file.# This is mostly being used for generation of certificate requests.## This definition stops the following lines choking if HOME isn’t# defined.HOME = .RANDFILE= $ENV::HOME/.rnd# Extra OBJECT IDENTIFIER info:#oid_file= $ENV::HOME/.oidoid_section= new_oids# To use this configuration file with the '-extfile' option of the# 'openssl x509' utility, name here the section containing the# X.509v3 extensions to use:# extensions= # (Alternatively, use a configuration file that has only# X.509v3 extensions in its main [= default] section.)[ new_oids ]# We can add new OIDs in here for use by ’ca’, ’req’ and ’ts’.# Add a simple OID like this:# testoid1=1.2.3.4# Or use config file substitution like this:# testoid2=${testoid1}.5.6# Policies used by the TSA examples.tsa_policy1 = 1.2.3.4.1tsa_policy2 = 1.2.3.4.5.6tsa_policy3 = 1.2.3.4.5.7####################################################################[ ca ]default_ca = CA_default# The default ca section####################################################################[ CA_default ]dir= ./demoCA# Where everything is keptcerts= $dir/certs# Where the issued certs are keptcrl_dir= $dir/crl# Where the issued crl are keptdatabase = $dir/index.txt # database index file.#unique_subject = no # Set to ’no’ to allow creation of # several ctificates with same subject.new_certs_dir = $dir/newcerts# default place for new certs.certificate = $dir/cacert.pem # The CA certificateserial= $dir/serial # The current serial numbercrlnumber = $dir/crlnumber # the current crl number # must be commented out to leave a V1 CRLcrl= $dir/crl.pem # The current CRLprivate_key = $dir/private/cakey.pem# The private keyRANDFILE = $dir/private/.rand # private random number filex509_extensions = usr_cert# The extentions to add to the cert# Comment out the following two lines for the 'traditional'# (and highly broken) format.name_opt = ca_default# Subject Name optionscert_opt = ca_default# Certificate field options# Extension copying option: use with caution.# copy_extensions = copy# Extensions to add to a CRL. Note: Netscape communicator chokes on V2 CRLs# so this is commented out by default to leave a V1 CRL.# crlnumber must also be commented out to leave a V1 CRL.# crl_extensions = crl_extdefault_days = 365 # how long to certify fordefault_crl_days= 30 # how long before next CRLdefault_md = default# use public key default MDpreserve = no # keep passed DN ordering# A few difference way of specifying how similar the request should look# For type CA, the listed attributes must be the same, and the optional# and supplied fields are just that :-)policy= policy_match# For the CA policy[ policy_match ]countryName= matchstateOrProvinceName = matchorganizationName = matchorganizationalUnitName = optionalcommonName= suppliedemailAddress= optional# For the ’anything’ policy# At this point in time, you must list all acceptable ’object’# types.[ policy_anything ]countryName= optionalstateOrProvinceName = optionallocalityName= optionalorganizationName = optionalorganizationalUnitName = optionalcommonName= suppliedemailAddress= optional####################################################################[ req ]default_bits= 2048default_keyfile = privkey.pemdistinguished_name = req_distinguished_nameattributes= req_attributesx509_extensions = v3_ca # The extentions to add to the self signed cert# Passwords for private keys if not present they will be prompted for# input_password = secret# output_password = secret# This sets a mask for permitted string types. There are several options. # default: PrintableString, T61String, BMPString.# pkix : PrintableString, BMPString (PKIX recommendation before 2004)# utf8only: only UTF8Strings (PKIX recommendation after 2004).# nombstr : PrintableString, T61String (no BMPStrings or UTF8Strings).# MASK:XXXX a literal mask value.# WARNING: ancient versions of Netscape crash on BMPStrings or UTF8Strings.string_mask = utf8only# req_extensions = v3_req # The extensions to add to a certificate request[ req_distinguished_name ]countryName = Country Name (2 letter code)countryName_default= AUcountryName_min = 2countryName_max = 2stateOrProvinceName= State or Province Name (full name)stateOrProvinceName_default = Some-StatelocalityName = Locality Name (eg, city)0.organizationName= Organization Name (eg, company)0.organizationName_default = Internet Widgits Pty Ltd# we can do this but it is not needed normally :-)#1.organizationName= Second Organization Name (eg, company)#1.organizationName_default = World Wide Web Pty LtdorganizationalUnitName= Organizational Unit Name (eg, section)#organizationalUnitName_default =commonName = Common Name (e.g. server FQDN or YOUR name)commonName_max = 64emailAddress = Email AddressemailAddress_max= 64# SET-ex3 = SET extension number 3[ req_attributes ]challengePassword= A challenge passwordchallengePassword_min= 4challengePassword_max= 20unstructuredName= An optional company name[ usr_cert ]# These extensions are added when ’ca’ signs a request.# This goes against PKIX guidelines but some CAs do it and some software# requires this to avoid interpreting an end user certificate as a CA.basicConstraints=CA:FALSE# Here are some examples of the usage of nsCertType. If it is omitted# the certificate can be used for anything *except* object signing.# This is OK for an SSL server.# nsCertType = server# For an object signing certificate this would be used.# nsCertType = objsign# For normal client use this is typical# nsCertType = client, email# and for everything including object signing:# nsCertType = client, email, objsign# This is typical in keyUsage for a client certificate.# keyUsage = nonRepudiation, digitalSignature, keyEncipherment# This will be displayed in Netscape’s comment listbox.nsComment = 'OpenSSL Generated Certificate'# PKIX recommendations harmless if included in all certificates.subjectKeyIdentifier=hashauthorityKeyIdentifier=keyid,issuer# This stuff is for subjectAltName and issuerAltname.# Import the email address.# subjectAltName=email:copy# An alternative to produce certificates that aren’t# deprecated according to PKIX.# subjectAltName=email:move# Copy subject details# issuerAltName=issuer:copy#nsCaRevocationUrl= http://www.domain.dom/ca-crl.pem#nsBaseUrl#nsRevocationUrl#nsRenewalUrl#nsCaPolicyUrl#nsSslServerName# This is required for TSA certificates.# extendedKeyUsage = critical,timeStamping[ v3_req ]# Extensions to add to a certificate requestbasicConstraints = CA:FALSEkeyUsage = nonRepudiation, digitalSignature, keyEncipherment[ v3_ca ]# Extensions for a typical CA# PKIX recommendation.subjectKeyIdentifier=hashauthorityKeyIdentifier=keyid:always,issuer# This is what PKIX recommends but some broken software chokes on critical# extensions.#basicConstraints = critical,CA:true# So we do this instead.basicConstraints = CA:true# Key usage: this is typical for a CA certificate. However since it will# prevent it being used as an test self-signed certificate it is best# left out by default.# keyUsage = cRLSign, keyCertSign# Some might want this also# nsCertType = sslCA, emailCA# Include email address in subject alt name: another PKIX recommendation# subjectAltName=email:copy# Copy issuer details# issuerAltName=issuer:copy# DER hex encoding of an extension: beware experts only!# obj=DER:02:03# Where ’obj’ is a standard or added object# You can even override a supported extension:# basicConstraints= critical, DER:30:03:01:01:FF[ crl_ext ]# CRL extensions.# Only issuerAltName and authorityKeyIdentifier make any sense in a CRL.# issuerAltName=issuer:copyauthorityKeyIdentifier=keyid:always[ proxy_cert_ext ]# These extensions should be added when creating a proxy certificate# This goes against PKIX guidelines but some CAs do it and some software# requires this to avoid interpreting an end user certificate as a CA.basicConstraints=CA:FALSE# Here are some examples of the usage of nsCertType. If it is omitted# the certificate can be used for anything *except* object signing.# This is OK for an SSL server.# nsCertType = server# For an object signing certificate this would be used.# nsCertType = objsign# For normal client use this is typical# nsCertType = client, email# and for everything including object signing:# nsCertType = client, email, objsign# This is typical in keyUsage for a client certificate.# keyUsage = nonRepudiation, digitalSignature, keyEncipherment# This will be displayed in Netscape’s comment listbox.nsComment = 'OpenSSL Generated Certificate'# PKIX recommendations harmless if included in all certificates.subjectKeyIdentifier=hashauthorityKeyIdentifier=keyid,issuer# This stuff is for subjectAltName and issuerAltname.# Import the email address.# subjectAltName=email:copy# An alternative to produce certificates that aren’t# deprecated according to PKIX.# subjectAltName=email:move# Copy subject details# issuerAltName=issuer:copy#nsCaRevocationUrl= http://www.domain.dom/ca-crl.pem#nsBaseUrl#nsRevocationUrl#nsRenewalUrl#nsCaPolicyUrl#nsSslServerName# This really needs to be in place for it to be a proxy certificate.proxyCertInfo=critical,language:id-ppl-anyLanguage,pathlen:3,policy:foo####################################################################[ tsa ]default_tsa = tsa_config1 # the default TSA section[ tsa_config1 ]# These are used by the TSA reply generation only.dir= ./demoCA# TSA root directoryserial= $dir/tsaserial # The current serial number (mandatory)crypto_device = builtin# OpenSSL engine to use for signingsigner_cert = $dir/tsacert.pem # The TSA signing certificate # (optional)certs= $dir/cacert.pem # Certificate chain to include in reply # (optional)signer_key = $dir/private/tsakey.pem # The TSA private key (optional)default_policy = tsa_policy1# Policy if request did not specify it # (optional)other_policies = tsa_policy2, tsa_policy3 # acceptable policies (optional)digests= md5, sha1# Acceptable message digests (mandatory)accuracy = secs:1, millisecs:500, microsecs:100 # (optional)clock_precision_digits = 0 # number of digits after dot. (optional)ordering= yes # Is ordering defined for timestamps?# (optional, default: no)tsa_name= yes # Must the TSA name be included in the reply?# (optional, default: no)ess_cert_id_chain = no # Must the ESS cert id chain be included?# (optional, default: no)回答3:

我覺得你可以換一個源試試,比如http://www.phpcomposer.com

回答4:

是這樣的, composer升級以后需要必須使用https,但是可以通過配置進行支持http,也就是在,config.json中配置`

{ 'config': {'secure-http': false }}

`

相關文章:
日本不卡不码高清免费观看,久久国产精品久久w女人spa,黄色aa久久,三上悠亚国产精品一区二区三区
久久精品二区亚洲w码| 亚洲h色精品| 亚洲综合电影一区二区三区| 老司机精品久久| 日韩中文字幕91| 亚洲欧洲免费| 欧美激情亚洲| 亚洲天堂资源| 日韩中文在线电影| 91精品啪在线观看国产18| 在线精品小视频| 在线免费观看亚洲| 国产日产精品一区二区三区四区的观看方式| 在线亚洲欧美| 亚洲精品一区二区在线看| 六月婷婷综合| 欧美不卡高清一区二区三区| 精品在线99| 老牛影视一区二区三区| 狂野欧美性猛交xxxx| 天堂√8在线中文| 亚洲综合小说| 国产一区二区三区四区五区| 欧美日韩国产亚洲一区| 国产麻豆一区二区三区精品视频| 四虎国产精品免费观看| 亚洲婷婷在线| 欧美日韩18| 久久精品av| 伊人精品视频| 日韩激情一区二区| 久久久精品区| 国产精品普通话对白| 久久三级福利| 神马日本精品| 久久伦理在线| 日本色综合中文字幕| 精品视频自拍| 黄色在线一区| 精品福利久久久| 99成人在线| 国产成人精品亚洲线观看| 爽好久久久欧美精品| 久久影院资源站| 欧产日产国产精品视频| 色爱av综合网| 日韩国产综合| 蜜臀久久99精品久久久久久9| 国产日韩视频在线| 欧美午夜精彩| 欧美激情精品| 免费观看不卡av| 麻豆精品网站| 国产一区二区色噜噜| 合欧美一区二区三区| 欧美亚洲tv| 亚洲精品成人图区| 亚洲一二三区视频| 日本蜜桃在线观看视频| 日韩一级精品| 国产精品啊啊啊| 久久不射网站| 不卡在线一区| 国产乱码精品一区二区三区四区 | 精品在线99| 丝袜亚洲另类欧美| 欧美xxxx性| 免费一级欧美片在线观看网站| 激情丁香综合| 日本欧美韩国一区三区| 婷婷综合五月| 国产传媒av在线| 国产福利资源一区| 自拍自偷一区二区三区| 久久久久久久久丰满| 国产一精品一av一免费爽爽| 午夜精品影院| 国产精品专区免费| 噜噜噜躁狠狠躁狠狠精品视频| 午夜精品久久久久久久久久蜜桃| 日韩国产精品久久久久久亚洲| 99精品在线免费在线观看| 国产一区二区三区四区| 亚洲精品麻豆| 一区在线观看| 日韩中文影院| 久久一区国产| 日本久久二区| 在线亚洲激情| av不卡免费看| 免费在线视频一区| 夜夜嗨一区二区| 欧美理论视频| 欧美影院三区| 亚洲精品电影| 亚洲一区网站| 亚洲五月综合| 中文一区一区三区免费在线观 | 欧美一区二区三区久久精品| 四虎成人精品一区二区免费网站| 免费在线成人网| 中文字幕成人| 亚洲国产成人精品女人| 免费毛片在线不卡| 亚洲一区二区三区免费在线观看| 91久久在线| 国产亚洲精品久久久久婷婷瑜伽| 亚洲自拍另类| 日韩有码av| 国产精品99精品一区二区三区∴| 欧美中文一区| 欧美一区久久| 麻豆久久久久久| 久久亚洲资源中文字| 国产精品不卡| 午夜精品婷婷| 欧美一区二区三区久久精品| 久久精品网址| 今天的高清视频免费播放成人| 蜜臀精品久久久久久蜜臀| 综合五月婷婷| 国产日韩一区二区三区在线 | 欧美在线日韩| 成人小电影网站| 午夜在线播放视频欧美| 91亚洲无吗| 国产成人精品免费视| 91久久国产| 日韩激情一区二区| 狠狠久久伊人中文字幕| 久久要要av| 亚洲人亚洲人色久| 亚洲精品欧美| 精品久久亚洲| 一本色道精品久久一区二区三区| 日韩精品一区二区三区免费视频| 国产精品亚洲欧美| 天堂8中文在线最新版在线| 久久性天堂网| 你懂的国产精品| 在线一区电影| 日韩欧美四区| 最新国产拍偷乱拍精品| 久久在线视频免费观看| 樱桃视频成人在线观看| 色欧美自拍视频| 五月天av在线| 色爱综合网欧美| 国产美女一区| 日韩欧美中文字幕在线视频| 欧美aa一级| 成人亚洲欧美| 国产午夜精品一区二区三区欧美| 国产欧美一区二区三区精品酒店 | 你懂的网址国产 欧美| 精精国产xxxx视频在线播放 | 亚洲精品裸体| 成人在线视频区| 亚洲三级观看| 黑森林国产精品av| 亚洲毛片一区| 亚洲精品88| 日本不卡一二三区黄网| 欧美精选视频一区二区| 91亚洲精品视频在线观看| 久久青草久久| 欧美永久精品| 欧美在线亚洲综合一区| 国产精品久久久久久久久久妞妞 | 欧美片第1页| 日韩制服丝袜av| а√天堂8资源中文在线| 日韩高清不卡一区| 婷婷综合社区| 福利片在线一区二区| 日韩中文欧美在线| 日韩精品一区二区三区免费观影| 国产情侣一区| 亚洲人成高清| 久久精品亚洲欧美日韩精品中文字幕| 久久福利在线| 视频精品一区| 亚洲欧美日韩精品一区二区 | 国产在线观看www| 国产精品美女午夜爽爽| 免费看黄色91| 黄色欧美日韩| 欧美午夜精彩| 日韩欧美一区二区三区在线视频| 日韩av在线免费观看不卡| 日韩中文字幕av电影| 美女久久久久| 久久高清精品| sm捆绑调教国产免费网站在线观看| 久久国产精品免费精品3p | 国产精品中文字幕亚洲欧美| 亚洲一二三区视频| 日韩中文字幕av电影| av亚洲在线观看| 激情久久中文字幕|