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

阿里云ssh证书过期,如果更换并上传到服务器

  1. 登录阿里云平台,在控制台中找到“数字证书管理服务”
  2. 进入频道后,选择“SSL证书管理”
  3. 点击“创建证书”,创建成功后,进入证书详情页

  4. 选择“下载”板块,根据自身服务器类型,下载相应的证书即可

  5. 服务器更新证书

    1. 登录阿里云服务器,(以下命令仅做参考,根据自身实际情况登录)

       ssh site1@121.198.02.001
    2. 输入密码

    3. 找到ssh证书所在位置

      1. 如果找不到,可以先看下域名配置文件,在这个文件中会有ssh证书的目录地址

        进入nginx配置文件路径
        cd /etc/nginx/sites-enabled选择要查看的域名,比如a.com
        cat a.com
        
      2.   进入a.com会展示以下内容 
    4. 进入ssh证书目录
      cd  /etc/nginx/ssl-files
    5. 将本地文件上传到这个ssh证书目录下
      scp a.com.pem site1@121.198.02.001:/etc/nginx/ssl-files
  6.  重启nginx
    sudo service nginx reload
    

 


文章转载自:
http://nucleosidase.sxnf.com.cn
http://sentinel.sxnf.com.cn
http://chlorophyllous.sxnf.com.cn
http://millesimal.sxnf.com.cn
http://sanderling.sxnf.com.cn
http://hydrometeorological.sxnf.com.cn
http://surjection.sxnf.com.cn
http://calicle.sxnf.com.cn
http://sand.sxnf.com.cn
http://halogenoid.sxnf.com.cn
http://whaleman.sxnf.com.cn
http://checkbook.sxnf.com.cn
http://fishbowl.sxnf.com.cn
http://unluckily.sxnf.com.cn
http://schlockmeister.sxnf.com.cn
http://dyeable.sxnf.com.cn
http://glossotomy.sxnf.com.cn
http://farmer.sxnf.com.cn
http://cai.sxnf.com.cn
http://semiblind.sxnf.com.cn
http://umtata.sxnf.com.cn
http://nuclearism.sxnf.com.cn
http://wine.sxnf.com.cn
http://throughput.sxnf.com.cn
http://refractive.sxnf.com.cn
http://antelope.sxnf.com.cn
http://bitingly.sxnf.com.cn
http://mohammedan.sxnf.com.cn
http://microecology.sxnf.com.cn
http://cacophonize.sxnf.com.cn
http://www.dtcms.com/a/280771.html

相关文章:

  • 3D数据:从数据采集到数据表示,再到数据应用
  • 服务器、花生壳一个端口部署前后端分离项目
  • 微算法科技技术突破:用于前馈神经网络的量子算法技术助力神经网络变革
  • 从基础到进阶:MyBatis-Plus 分页查询封神指南
  • 暑期算法训练.1
  • redis的安装
  • 【Docker基础】Dockerfile指令速览:高级构建指令详解
  • Flink Watermark原理与实战
  • [Pytest][Part 5]单条测试和用例集测试
  • 工业喷涂机器人的革新:艾利特协作机器人引领人机交互新纪元
  • 基于强化学习的智能体设计与实现:以CartPole平衡任务为例
  • 物联网系统中“时序数据库(TSDB)”和“关系型数据库(RDBMS)”
  • GD32VW553-IOT LED呼吸灯项目
  • 软考高级网络规划设计师2009-2024历年真题合集下载
  • AWS中国区资源成本优化全面指南:从理论到实践
  • 板凳-------Mysql cookbook学习 (十一--------11)
  • QT——QComboBox组合框控件
  • Filter(过滤器)
  • Kruskal重构树
  • AutoSQT 2025 第二届汽车软件质量与测试峰会开启报名!
  • wkhtmltopdf导出pdf调试参数
  • 无法判断项目进度中的关键路径,如何进行关键路径分析
  • 创客匠人:创始人 IP 的破局思维,重构知识变现的深层逻辑
  • 基于redis的分布式锁 lua脚本解决原子性
  • easy-ui中的相对路径和绝对路径问题
  • ARM GCC内联汇编
  • 如何轻松将音乐从安卓设备传输到安卓设备
  • 用vue自定义指令设置页面权限
  • Android 事件机制详解
  • day053-初识docker与基础命令