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

您的位置:首頁技術(shù)文章
文章詳情頁

linux - composer 的SSL錯誤

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

問題描述

我用的是homestead 2.1.0,vagrant 1.9.2,composer用的是laravel-china的國內(nèi)源,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!

網(wǎng)上尋找解決方案無果

誰能解決支付寶轉(zhuǎn)賬一頓早餐錢酬謝!!!!!!!!!!!!

linux - composer 的SSL錯誤

問題解答

回答1:

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

回答2:

先檢查你的php是否安裝了openssl,如果安裝了還報錯,在C:usrlocalssl建立openssl.cnf,內(nèi)容如下,這是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,但是可以通過配置進(jìn)行支持http,也就是在,config.json中配置`

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

`

相關(guān)文章:
日本不卡不码高清免费观看,久久国产精品久久w女人spa,黄色aa久久,三上悠亚国产精品一区二区三区
欧美激情 亚洲a∨综合| 免费视频一区二区三区在线观看| 国产精品久久久久av蜜臀| 97久久精品| 日韩在线观看中文字幕| 亚洲精品视频一二三区| 亚洲一区av| 亚洲综合图色| 亚洲ab电影| 日韩高清中文字幕一区| 国产精品黄色片| 久久三级中文| 97人人精品| 快播电影网址老女人久久| 亚洲午夜精品久久久久久app| 精品欧美久久| 石原莉奈在线亚洲二区| 亚洲精品福利| 国产精品magnet| 精品三级av在线导航| 成人国产综合| 国产综合婷婷| 中文在线日韩| 精品一区二区三区中文字幕在线| 韩国女主播一区二区三区| 欧美成人精品三级网站| 国产精品视区| 国产视频网站一区二区三区| 国产成人精品一区二区三区免费| 久久精品青草| 一区二区三区四区日韩| 久久国产人妖系列| 人在线成免费视频| 国产模特精品视频久久久久| 久久国内精品视频| 亚洲黄色网址| 免费人成在线不卡| 蜜桃久久久久| 午夜精品一区二区三区国产| 四虎国产精品免费久久| 捆绑调教美女网站视频一区| 尤物tv在线精品| 香蕉久久一区| 日韩欧美中文| 亚洲精品字幕| 97精品国产一区二区三区 | 国产精品久久久一区二区| 福利一区二区免费视频| 久久亚洲国产精品一区二区| 国产精品一区亚洲| 欧美中文字幕一区二区| 国产亚洲一卡2卡3卡4卡新区| 91精品一区二区三区综合| 综合精品一区| 欧美精品日日操| 日韩黄色在线观看| 亚洲午夜精品久久久久久app| 国产精品久久久久久久久久妞妞| 久久中文视频| 久久激情五月婷婷| 欧美成人亚洲| 麻豆精品一区二区综合av| 日韩午夜一区| 精品美女在线视频| 中文字幕一区二区三区日韩精品| 青青青免费在线视频| 日韩av网站在线免费观看| 神马午夜久久| 国产精品主播在线观看| 在线视频精品| 亚洲黄色中文字幕| 国产一精品一av一免费爽爽| 欧美aa国产视频| 精品美女久久| 亚洲精品大片| 精品欧美久久| 桃色av一区二区| 国产精品久久久久久久久久白浆 | 日韩国产一区二区| 日本va欧美va精品发布| 香蕉久久精品| 日韩av在线中文字幕| 日韩精品一区二区三区中文| 国内精品福利| 成人亚洲一区| 久久精品99久久久| 久热re这里精品视频在线6| 日韩电影免费网站| 麻豆精品久久| 青青国产91久久久久久| 香蕉成人久久| 久久久久久久久丰满| 国产一区二区三区视频在线| 日韩av一二三| 亚洲精品一二| 久久av在线| 欧美不卡在线| 久久久久久久久久久妇女| 成人在线超碰| 国产精品久久| 国产探花在线精品一区二区| 蜜桃视频一区二区| 99日韩精品| 黄色亚洲免费| re久久精品视频| 久久婷婷亚洲| 亚洲国产欧美日本视频| 日韩.com| 日韩欧美字幕| 久久免费国产| 91精品一区国产高清在线gif| 亚洲天堂资源| 在线天堂资源www在线污| 精品一区不卡| 狠狠久久伊人| 成人影视亚洲图片在线| 久久免费精品| 久久精品资源| 国内精品麻豆美女在线播放视频| 黄色欧美在线| 欧美男人天堂| 99国产精品免费视频观看| 日本美女一区| 久久国产日韩| 99在线|亚洲一区二区| 午夜av一区| 蜜桃传媒麻豆第一区在线观看| 蜜臀精品一区二区三区在线观看| 亚洲专区欧美专区| 一区二区三区国产盗摄| 日韩中出av| 日韩免费精品| 欧美精品国产白浆久久久久| 国产精品a久久久久| 97精品中文字幕| 欧美 日韩 国产一区二区在线视频| 婷婷激情图片久久| 久久国产精品久久w女人spa| 亚洲区第一页| 国产精品日本一区二区三区在线| 麻豆免费精品视频| www.九色在线| 亚洲精品a级片| 亚洲三级观看| 久久av综合| 久久久一本精品| 国产尤物精品| 日韩精品一二三区| 国产日韩中文在线中文字幕 | 日韩视频不卡| 亚洲欧美专区| 久久av免费| av资源新版天堂在线| 欧美粗暴jizz性欧美20| 日欧美一区二区| 久久久久九九精品影院| 色婷婷狠狠五月综合天色拍| 欧美日中文字幕| 亚洲久久在线| 成人午夜亚洲| 国产毛片久久| 国产精品伊人| 久久国产直播| 日韩不卡手机在线v区| 在线人成日本视频| 免费观看在线综合色| 国产伦乱精品| 久久免费国产| 日韩av黄色在线| 久久精品导航| 欧美亚洲免费| 亚洲91精品| 日本欧美在线看| 精品视频免费| 免费日韩一区二区| 麻豆精品视频在线观看| 91成人网在线观看| 国产精品主播在线观看| 国产精品99一区二区| 91麻豆精品| 99久久亚洲精品| 欧美日韩国产一区二区在线观看| 成人日韩在线| 国产无遮挡裸体免费久久| 欧美午夜精品一区二区三区电影| 日韩精品免费一区二区夜夜嗨| 国产91在线播放精品| 国产农村妇女精品一二区| 麻豆91精品视频| 久久亚洲色图| 日韩天堂在线| 国产精品一区二区美女视频免费看| 欧美综合另类| 麻豆传媒一区二区三区| 麻豆亚洲精品| 不卡一二三区| 国产欧美日韩视频在线| 婷婷综合激情| 精品九九久久| 日韩午夜视频在线|