OpenSSL

Let's Encrypt Certificate not working while using on JAVA API

假如想象 提交于 2021-01-06 03:35:39
问题 I am developing a Java application that provides a REST API over HTTP. For security reasons this communication should be switched to HTTPS. I generate a trusted certificate from Let's Encrypt using certbot tool, this certificate seems to be working when I call my API from Chrome browser, but I get this exception when I use a Java 1.8.0_191 client based on Spring RestTemplate: Exception in thread "main" org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https

Let's Encrypt Certificate not working while using on JAVA API

生来就可爱ヽ(ⅴ<●) 提交于 2021-01-06 03:34:05
问题 I am developing a Java application that provides a REST API over HTTP. For security reasons this communication should be switched to HTTPS. I generate a trusted certificate from Let's Encrypt using certbot tool, this certificate seems to be working when I call my API from Chrome browser, but I get this exception when I use a Java 1.8.0_191 client based on Spring RestTemplate: Exception in thread "main" org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https

Let's Encrypt Certificate not working while using on JAVA API

£可爱£侵袭症+ 提交于 2021-01-06 03:33:18
问题 I am developing a Java application that provides a REST API over HTTP. For security reasons this communication should be switched to HTTPS. I generate a trusted certificate from Let's Encrypt using certbot tool, this certificate seems to be working when I call my API from Chrome browser, but I get this exception when I use a Java 1.8.0_191 client based on Spring RestTemplate: Exception in thread "main" org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https

Let's Encrypt Certificate not working while using on JAVA API

本秂侑毒 提交于 2021-01-06 03:33:12
问题 I am developing a Java application that provides a REST API over HTTP. For security reasons this communication should be switched to HTTPS. I generate a trusted certificate from Let's Encrypt using certbot tool, this certificate seems to be working when I call my API from Chrome browser, but I get this exception when I use a Java 1.8.0_191 client based on Spring RestTemplate: Exception in thread "main" org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https

Let's Encrypt Certificate not working while using on JAVA API

和自甴很熟 提交于 2021-01-06 03:33:06
问题 I am developing a Java application that provides a REST API over HTTP. For security reasons this communication should be switched to HTTPS. I generate a trusted certificate from Let's Encrypt using certbot tool, this certificate seems to be working when I call my API from Chrome browser, but I get this exception when I use a Java 1.8.0_191 client based on Spring RestTemplate: Exception in thread "main" org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https

Get .pfx Cert File Expiration with pyOpenSSL

好久不见. 提交于 2021-01-05 12:42:44
问题 I'm trying to use pyOpenSSL to check the expiration of a .pfx file the client will need to use with my application. We issue the cert to the client, and it expires every two years. I know using openssl in the command line works, by converting to a .pem and then running '-noout -enddate' on the resulting .pem file. There is a good chance the client will not have openssl installed, so I'd like to use the library if possible. How would I check the .pfx expiration date? I've gotten the cert

HarmonyOS特性与资源、工具

余生颓废 提交于 2021-01-05 08:44:03
HarmonyOS 是一款“面向未来”、面向全场景(移动办公、运动健康、社交通信、媒体娱乐等)的分布式操作系统。在传统的单设备系统能力的基础上, HarmonyOS 提出了基于同一套系统能力、适配多种终端形态的分布式理念,能够支持多种终端设备。 对消费者而言, HarmonyOS 能够将生活场景中的各类终端进行能力整合,形成一个“超级虚拟终端”,可以实现不同的终端设备之间的快速连接、能力互助、资源共享,匹配合适的设备、提供流畅的全场景体验。 对应用开发者而言, HarmonyOS 采用了多种分布式技术,使得应用程序的开发实现与不同终端设备的形态差异无关,降低了开发难度和成本。这能够让开发者聚焦上层业务逻辑,更加便捷、高效地开发应用。 对设备开发者而言, HarmonyOS 采用了组件化的设计方案,可以根据设备的资源能力和业务特征进行灵活裁剪,满足不同形态的终端设备对于操作系统的要求。 1、源码与文档 官方文档, https://device.harmonyos.com/cn/docs/start/learn/oem_des_define-0000001055232642 代码仓库, https://openharmony.gitee.com 2、获取设备开发工具(HUAWEI DevEco Device Tool) 工具简介 HUAWEI DevEco Device Tool是

redhat5本地源NBD驱动安装

廉价感情. 提交于 2021-01-05 08:07:06
1.将镜像挂载到本机上 1)将系统ISO镜像放到自己电脑/root下 lsb_release -a 查看系统类型 2)在(/)目录下,建立yum目录 mkdir /root/yum 3)修改/etc下的yum配置文件 cd /etc/yum.repos.d ls mv rhel-debuginfo.repo rhel-debuginfo.repo.bak vim rhel-debuginfo.repo rhel-debuginfo.repo配置文件为: name=Red Hat Enterprise Linux $releasever - $basearch - Debug baseurl=file: ///root/yum enabled=1 #gpgcheck=0 #gpgkey=file: ///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release 4)配置完yum,然后在配置下自动挂载 vim /etc/rc.local mount -o loop /root/rhel-server-5.4-X86_64-dvd.iso /root/yum 5)重启机器 reboot 2.配置本地yum源 1)因为读写权限问题,需要将mount后的镜像文件手动拷贝到其他文件夹下 mkdir /root/YUM 将/root/yum下的镜像文件手动拷贝到

CentOS7环境下搭建基于chrony的NTP服务器

﹥>﹥吖頭↗ 提交于 2021-01-05 07:31:57
1、 NTP 网络时间协议: 它是通过网络在计算机系统之间进行时钟同步的网络协议。换言之,它可以让那些通过 NTP 或者 Chrony 客户端连接到 NTP 服务器的系统保持时间上的一致(它能保持一个精确的时间)。 NTP 在公共互联网上通常能够保持时间延迟在几十毫秒以内的精度,并在理想条件下,它能在局域网下达到低于一毫秒的延迟精度。它使用用户数据报协议(UDP)在端口 123 上发送和接受时间戳。它是个 C/S 架构的应用程序 2、chrony是一个开源的自由软件,像CentOS 7或基于RHEL 7操作系统,已经是默认服务,默认配置文件/etc/chrony.conf 它能保持系统时间与时间服务器(NTP)同步,让时间始终保持同步。相对于NTP时间同步软件,占据很大优势,其用法也很简单。 3、Chrony有两个核心组件,分别是: chronyd:是守护进程,主要用于调整内核中运行的系统时间和时间服务器同步。它确定计算机增减时间的比率,并对此进行调整补偿。 chronyc:提供一个用户界面,用于监控性能并进行多样化的配置。它可以在chronyd实例控制的计算机上工作,也可以在一台不同的远程计算机上工作。 下面CentOS7环境下搭建基于chrony的NTP服务器 CentOS7 10.20.10.93 chrony服务器 CentOS7 10.20.10.158

RFID期末复习资料

喜欢而已 提交于 2021-01-04 14:53:13
一. 1.什么是自动识别技术: 自动识别技术是用机器识别对象的众多技术的总称。应用识别装置,通过被识别物品与识别装置之间的接近活动,自动地获取被识别物品的相关信息。是一种高度自动化的信息或数据采集技术。能够快速、准确的将现场庞大的数据有效地登录到计算机系统的数据库中。 2.什么是射频识别技术: 射频识别技术是通过无线电波进行数据传递的自动识别技术。与条码识别技术、磁卡识别技术和IC卡识别技术等相比,它以特有的无接触、可同时识别多个物体等优点,逐渐成为自动识别领域中最优秀和应用最广泛的技术之一,是目前最重要的自动识别技术。 3.RFID 系统的特点和结构: 利用射频信号实现的一种非接触式的自动识别技术。附在被识别物体表面或内部的电子标签存储着物体的信息,当电子标签进入阅读器的适度区域时,阅读器以非接触的方式将电子标签内的信息按照一定的规则传输给后台计算机处理系统或电控系统,从而实现自动识别物品或自动收集物品标识信息的功能,通过无线射频方式进行非接触、双向数据通信对目标加以识别 特点表现如下: Ø RFID电子标签抗污损能力强 Ø RFID电子标签安全性高 Ø RFID电子标签容量大 Ø RFID可远距离同时识别多个电子标签 Ø RFID是物联网的基石 4.RFID的发展起源和标准体系 RFID的诞生源于战争的需要,英国空军识别敌我飞机。 标准体系: 1)空中接口标准 2