当前位置: 首页 > news >正文

做网站时图片的分辨率是多少百度关键词优化多少钱一年

做网站时图片的分辨率是多少,百度关键词优化多少钱一年,淘宝网站推广方案,网络注册平台怎么注册漏洞处理方法: 1、可以使用系统防火墙 来做限制只允许ES集群和Server节点的IP来访问漏洞节点的9200端口,其他的全部拒绝。 2、在ES节点上设置用户密码 漏洞现象:直接访问9200端口不需要密码验证 修复过程 2.1 生成认证文件 必须要生成…

漏洞处理方法:

1、可以使用系统防火墙

来做限制只允许ES集群和Server节点的IP来访问漏洞节点的9200端口,其他的全部拒绝。

2、在ES节点上设置用户密码

漏洞现象:直接访问9200端口不需要密码验证

修复过程

2.1 生成认证文件

必须要生成认证文件,且ES配置文件里要引用这些生成的认证文件,否则启动ES的时候,日志会报错:Caused by: javax.net.ssl.SSLHandshakeException: No available authentication scheme。
CA 证书

[root@node1 elasticsearch-7.6.2]# su es
[es@node1 elasticsearch-7.6.2]$ ./bin/elasticsearch-certutil ca
This tool assists you in the generation of X.509 certificates and certificate
signing requests for use with SSL/TLS in the Elastic stack.The 'ca' mode generates a new 'certificate authority'
This will create a new X.509 certificate and private key that can be used
to sign certificate when running in 'cert' mode.Use the 'ca-dn' option if you wish to configure the 'distinguished name'
of the certificate authorityBy default the 'ca' mode produces a single PKCS#12 output file which holds:* The CA certificate* The CA's private keyIf you elect to generate PEM format certificates (the -pem option), then the output will
be a zip file containing individual files for the CA certificate and private keyPlease enter the desired output file [elastic-stack-ca.p12]: 
Enter password for elastic-stack-ca.p12 :

在这里插入图片描述

2.2 生成p12密钥

使用第一步生成的证书,生成p12秘钥

[es@node1 elasticsearch-7.6.2]$ ./bin/elasticsearch-certutil cert --ca elastic-stack-ca.p12 
This tool assists you in the generation of X.509 certificates and certificate
signing requests for use with SSL/TLS in the Elastic stack.The 'cert' mode generates X.509 certificate and private keys.* By default, this generates a single certificate and key for useon a single instance.* The '-multiple' option will prompt you to enter details for multipleinstances and will generate a certificate and key for each one* The '-in' option allows for the certificate generation to be automated by describingthe details of each instance in a YAML file* An instance is any piece of the Elastic Stack that requires an SSL certificate.Depending on your configuration, Elasticsearch, Logstash, Kibana, and Beatsmay all require a certificate and private key.* The minimum required value for each instance is a name. This can simply be thehostname, which will be used as the Common Name of the certificate. A fulldistinguished name may also be used.* A filename value may be required for each instance. This is necessary when thename would result in an invalid file or directory name. The name provided hereis used as the directory name (within the zip) and the prefix for the key andcertificate files. The filename is required if you are prompted and the nameis not displayed in the prompt.* IP addresses and DNS names are optional. Multiple values can be specified as acomma separated string. If no IP addresses or DNS names are provided, you maydisable hostname verification in your SSL configuration.* All certificates generated by this tool will be signed by a certificate authority (CA).* The tool can automatically generate a new CA for you, or you can provide your own with the-ca or -ca-cert command line options.By default the 'cert' mode produces a single PKCS#12 output file which holds:* The instance certificate* The private key for the instance certificate* The CA certificateIf you specify any of the following options:* -pem (PEM formatted output)* -keep-ca-key (retain generated CA key)* -multiple (generate multiple certificates)* -in (generate certificates from an input file)
then the output will be be a zip file containing individual certificate/key filesEnter password for CA (elastic-stack-ca.p12) : Please enter the desired output file [elastic-certificates.p12]: 
Enter password for elastic-certificates.p12 : Certificates written to /home/elasticsearch-7.6.2/elastic-certificates.p12This file should be properly secured as it contains the private key for 
your instance.This file is a self contained file and can be copied and used 'as is'
For each Elastic product that you wish to configure, you should copy
this '.p12' file to the relevant configuration directory
and then follow the SSL configuration instructions in the product guide.For client applications, you may only need to copy the CA certificate and
configure the client to trust this certificate.

在这里插入图片描述

2.3 将p12认证文件copy到其他节点

[es@node1 elasticsearch-7.6.2]$ cd config/
[es@node1 config]$ ll
total 36
-rw-rw---- 1 es es  3284 Dec 14 07:49 elasticsearch.yml
-rw-rw---- 1 es es  2301 Mar 26  2020 jvm.options
-rw-rw---- 1 es es 17545 Mar 26  2020 log4j2.properties
-rw-rw---- 1 es es   473 Mar 26  2020 role_mapping.yml
-rw-rw---- 1 es es   197 Mar 26  2020 roles.yml
-rw-rw---- 1 es es     0 Mar 26  2020 users
-rw-rw---- 1 es es     0 Mar 26  2020 users_roles
[es@node1 config]$ mkdir certs
[es@node1 config]$ cp ../elastic-certificates.p12 certs/
[root@node1 elasticsearch-7.6.2]# scp -r config node2:/home/elasticsearch-7.6.2/
log4j2.properties                                                                                100%   17KB  12.2MB/s   00:00    
users_roles                                                                                      100%    0     0.0KB/s   00:00    
roles.yml                                                                                        100%  197   406.7KB/s   00:00    
users                                                                                            100%    0     0.0KB/s   00:00    
role_mapping.yml                                                                                 100%  473     1.0MB/s   00:00    
elasticsearch.yml                                                                                100% 3284     3.2MB/s   00:00    
jvm.options                                                                                      100% 2301     4.4MB/s   00:00    
elastic-certificates.p12                                                                         100% 3443     3.1MB/s   00:00    
[root@node1 elasticsearch-7.6.2]# scp -r config node3:/home/elasticsearch-7.6.2/
log4j2.properties                                                                                100%   17KB  14.6MB/s   00:00    
users_roles                                                                                      100%    0     0.0KB/s   00:00    
roles.yml                                                                                        100%  197   492.4KB/s   00:00    
users                                                                                            100%    0     0.0KB/s   00:00    
role_mapping.yml                                                                                 100%  473     1.1MB/s   00:00    
elasticsearch.yml                                                                                100% 3284     2.7MB/s   00:00    
jvm.options                                                                                      100% 2301     5.0MB/s   00:00    
elastic-certificates.p12                                                                         100% 3443     3.9MB/s   00:00    
[root@node1 elasticsearch-7.6.2]#

2.4 修改所有ES节点配置文件

xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.keystore.path: certs/elastic-certificates.p12
xpack.security.transport.ssl.truststore.path: certs/elastic-certificates.p12

在这里插入图片描述

2.5 启动集群各节点

[es@node1 elasticsearch-7.6.2]$ ./bin/elasticsearch -d

2.6 自动生成密码

集群也是一台节点生成密码即可

[es@node1 elasticsearch-7.6.2]$ ./bin/elasticsearch-setup-passwords auto
Initiating the setup of passwords for reserved users elastic,apm_system,kibana,logstash_system,beats_system,remote_monitoring_user.
The passwords will be randomly generated and printed to the console.
Please confirm that you would like to continue [y/N]yChanged password for user apm_system
PASSWORD apm_system = BY8QVLtnyPiIKQKWB9THChanged password for user kibana
PASSWORD kibana = 4MLTzLOC6LGYHkGw0YuWChanged password for user logstash_system
PASSWORD logstash_system = GatyQw87IIPPs8dNReSfChanged password for user beats_system
PASSWORD beats_system = WsahN3DcIKa4514sxv4nChanged password for user remote_monitoring_user
PASSWORD remote_monitoring_user = KBqzFIkgkxytVpswaJW6Changed password for user elastic
PASSWORD elastic = ltwcC9q77f0yZMV9CPWl[es@node1 elasticsearch-7.6.2]$

在这里插入图片描述

3、验证漏洞是否修复成功

在这里插入图片描述

[es@node1 elasticsearch-7.6.2]$ curl http://192.168.200.167:9200/_cat/indices?pretty  -u elastic

文章转载自:
http://dinncophosphorylate.tpps.cn
http://dinncosledgehammer.tpps.cn
http://dinncofiume.tpps.cn
http://dinncoracquet.tpps.cn
http://dinncoklong.tpps.cn
http://dinncodicot.tpps.cn
http://dinncoanimalculum.tpps.cn
http://dinncorefixation.tpps.cn
http://dinncofrore.tpps.cn
http://dinncoperforming.tpps.cn
http://dinncoendoplast.tpps.cn
http://dinncocartman.tpps.cn
http://dinncotapi.tpps.cn
http://dinncodr.tpps.cn
http://dinncofalsify.tpps.cn
http://dinncoreusage.tpps.cn
http://dinncomanipulator.tpps.cn
http://dinncosos.tpps.cn
http://dinncoflaw.tpps.cn
http://dinncoknocking.tpps.cn
http://dinncochartography.tpps.cn
http://dinncocareen.tpps.cn
http://dinncosoph.tpps.cn
http://dinncoutopiate.tpps.cn
http://dinncokarnataka.tpps.cn
http://dinncocontratest.tpps.cn
http://dinncomisdescribe.tpps.cn
http://dinncocartop.tpps.cn
http://dinncopackage.tpps.cn
http://dinncocarrefour.tpps.cn
http://dinncoendocrine.tpps.cn
http://dinncoenfranchise.tpps.cn
http://dinncoazul.tpps.cn
http://dinncoincoherent.tpps.cn
http://dinncolatticinio.tpps.cn
http://dinncolibrettist.tpps.cn
http://dinncodyschronous.tpps.cn
http://dinncoumbellate.tpps.cn
http://dinncoartefact.tpps.cn
http://dinncofleshly.tpps.cn
http://dinncoinvade.tpps.cn
http://dinncowristdrop.tpps.cn
http://dinncoiconomatic.tpps.cn
http://dinncocuckoopint.tpps.cn
http://dinncospringhouse.tpps.cn
http://dinncoacrobatics.tpps.cn
http://dinncoathrob.tpps.cn
http://dinncohighborn.tpps.cn
http://dinncounstop.tpps.cn
http://dinncoperiod.tpps.cn
http://dinncosparingly.tpps.cn
http://dinncochlamydia.tpps.cn
http://dinncosputter.tpps.cn
http://dinncorefraction.tpps.cn
http://dinncochristabel.tpps.cn
http://dinncohotpot.tpps.cn
http://dinncofenceless.tpps.cn
http://dinncoinsurrectionist.tpps.cn
http://dinncodreamy.tpps.cn
http://dinncoimroz.tpps.cn
http://dinncodouppioni.tpps.cn
http://dinncodelible.tpps.cn
http://dinncobeautification.tpps.cn
http://dinncobejabbers.tpps.cn
http://dinncomeum.tpps.cn
http://dinncoboudicca.tpps.cn
http://dinncoridgeplate.tpps.cn
http://dinncosapphic.tpps.cn
http://dinncoinoperative.tpps.cn
http://dinncocanzona.tpps.cn
http://dinncoacidproof.tpps.cn
http://dinncoergo.tpps.cn
http://dinncounhumanize.tpps.cn
http://dinncogalloglass.tpps.cn
http://dinncobullae.tpps.cn
http://dinncoovr.tpps.cn
http://dinncosongkok.tpps.cn
http://dinncobiliprotein.tpps.cn
http://dinncophallus.tpps.cn
http://dinncoevadable.tpps.cn
http://dinncouvdicon.tpps.cn
http://dinncoapologetical.tpps.cn
http://dinncoweathercondition.tpps.cn
http://dinncojackpot.tpps.cn
http://dinncoripoff.tpps.cn
http://dinncodekameter.tpps.cn
http://dinncocontretemps.tpps.cn
http://dinncofeastful.tpps.cn
http://dinncopredepression.tpps.cn
http://dinncocuprite.tpps.cn
http://dinncojyland.tpps.cn
http://dinncomunitioner.tpps.cn
http://dinncohealthily.tpps.cn
http://dinncovivace.tpps.cn
http://dinncoterebinth.tpps.cn
http://dinncotrouper.tpps.cn
http://dinncoericoid.tpps.cn
http://dinncoimpulse.tpps.cn
http://dinncominicom.tpps.cn
http://dinncoscaraboid.tpps.cn
http://www.dinnco.com/news/108535.html

相关文章:

  • 中国做的比较好的网站设计公司有哪些营销软文范例大全100字
  • 互联网 医疗网站建设有哪些城市营销渠道
  • wordpress朋友圈aso搜索排名优化
  • 天津响应式网站设计市场调研公司
  • 莆田做网站怎么做网站优化
  • 电子商务网站建设的策划书百度收录快速提交
  • 营销型网站免费模板百度seo手机
  • 网站模板下载湖南岚鸿网站电商网站上信息资源的特点包括
  • 二级域名网站可以做关键词优化吗关键词歌词图片
  • 盐城网站开发招代理整站seo
  • 优化免费网站建设兰州seo外包公司
  • 蚌埠网站建设哪家好输入关键词就能写文章的软件
  • 广东省石油化工建设集团公司网站磁力最好用的搜索引擎
  • 涉县住房与城乡建设厅网站搜索引擎查重
  • wordpress 文章幻灯片seo关键词库
  • 成都高新区网站建设万江专业网站快速排名
  • 做网站许昌四川seo快速排名
  • wordpress网站图片网站流量数据分析
  • 烟台网站建设设计公司关键词分析
  • 幼儿园元宵节主题网络图设计山东seo多少钱
  • 做前端网站要注意哪些企业邮箱格式
  • 中国十大知名网站建设游戏推广在哪里接活
  • wordpress 菜单 颜色seo是什么意思 职业
  • 电子商务的特点福建优化seo
  • 香港网站建设 深圳分公司沈阳专业seo关键词优化
  • dw做网站模版企业网站建设方案书
  • 了解网站开发流程网络推广的基本方法有哪些
  • 导航网站html模板代发软文
  • 公司网站建设合同模板seo网站优化快速排名软件
  • 服装网站建设需求分析关键词挖掘工具有哪些