ICode9

精准搜索请尝试: 精确搜索
  • crystal-lang 学习二 macos openssl 问题2020-07-02 21:37:12

    因为我的openssl 是使用brew 安装的,按照一般的解决方法是如下配置 注意我的是按照brew 安装的版本的提示 配置 export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib" export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include" export PKG_CONFIG_PATH="/usr/local/o

  • php升级openssl扩展,swoole升级openssl扩展,linux安装openssl版本2020-07-02 16:04:25

      php7版本openssl扩展升级安装,swoole openssl扩展安装高版本自定义编译安装  php升级openssl扩展,swoole升级openssl扩展    报错configure: error: Cannot find OpenSSL's libraries异常使用第三项   php升级openssl扩展,swoole升级openssl扩展    报错configure

  • 使用Openssl生成自签名证书2020-07-02 10:35:50

    1、首先查看系统是否安装了openssl 命令:openssl version -a 2、创建存放证书的目录 mkdir ssl  && cd ssl 3、创建私钥 命令:openssl genrsa -out server.key 2048 4、通过命令行交互方式创建证书申请文件 命令:req -new -key server.key -out server.csr   5、用私钥签名证书

  • Linux下文件加密解密简单版(可支持压缩文件加密解密)2020-06-29 22:05:15

    首先说下实现方法:使用Linux的openssl命令进行二进制文件的加密解密,使用管道命令进行文件的加密解密操作 一、普通文件加密/解密 【加密】 cat a.txt | openssl des3 -e -k password > a1 其中a.txt可以为任何二进制文件、password为密码、a1为加密后的文件 原理:使用cat命令读取

  • 签发SSL多域名自签证书2020-06-28 18:05:08

    本文章在CentOS7下操作通过. 多域名证书 , 有两种配置方式 :  1 . 使用openssl.cnf进行配置 2 . 直接命令行内内置生成   下面使用一个例子 , 来具体说明一下两种方式的做法 .   一 . 复制并修改openssl配置文件(openssl.cnf) #CentOS的配置文件在/etc/pki/tls/下 mv /etc/pki

  • 数据安全-数据加密学2020-06-21 19:51:34

    了解基础的加密协议 掌握在RHEL中实现加密 为常见网络协议配置加密服务 加密的需求 。可疑的未加密的流量 。监听密码/数据 。数据操作 。认证操作 。雷同于邮寄一个信用卡 。之前的不安全协议 。telnet,FTP,POP3......:对密码不安全 。sendmail,NFS,NIS

  • OpenSSL密码库算法笔记——第6.5.1章 密钥协商原理2020-06-21 19:40:12

    密钥协商的输入包括椭圆曲线参数(具体参数情况请参见§6.2.2),以及己方私钥s和对方公钥W,注意这里的公私钥都必须是在同一条椭圆曲线上选取。以下假设椭圆曲线参数、己方私钥s和对方公钥W都是合理有效的。密钥协商算法如下: ───────────────────────────

  • php中rsa生成公私钥和加解密2020-06-16 23:55:42

    php中rsa生成公私钥和加解密 注意:php使用RSA时需要开启openssl扩展 生成公私钥 //创建公私钥 $res = openssl_pkey_new(); //获取私钥 openssl_pkey_export($res, $private_key); //获取公钥 $public_key = openssl_pkey_get_details($res)['key']; //组合rsa $rsa = [ 'p

  • php openssl扩展学习以及基本使用2020-06-07 13:02:15

    先了解一下基本概念: 公钥/私钥/签名/验证签名/加密/解密/对称加密/非对称加密 公钥与私钥是通过一种算法得到的一个密钥对(即一个公钥和一个私钥),公钥是密钥对中公开的部分,私钥则是非公开的部分。公钥通常用于加密会话密钥、验证数字签名,或加密可以用相应的私钥解密的数据. 当然,公

  • nginx 启动报错dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib2020-06-05 14:03:56

    报错如图:    解决方案: 这个是由于 openssl 的版本影响到的。 再次把版本降回来即可。 brew switch openssl 1.0.2m 如果控制台提醒,那就用 1.0.2s 或者 1.0.2n ,1.0.2r解决下,根据提示来选  

  • openSUSE编译libevent2020-06-03 14:57:23

    https://github.com/libevent/libevent.git https://github.com/libevent/libevent/blob/master/Documentation/Building.md#building-on-unix-cmake 从github上下载libevent的源码 ./autogen.sh ./configure make 在make过程中,需要openssl相关的东西,这个无法通过源安装,只能下载

  • openssl 版本兼容问题 备忘录2020-05-31 18:55:17

    第三方依赖openssl,但openssl却有版本不同符号不兼容的问题,由于条件限制不得不使用固定版本的openssl,又或者同时有两个第三方依赖不同版本的openssl,只能靠手动,为了备忘。 1.HMAC_CTX 等CTX结构找不到定义,是1.1+版与旧版不兼容,问题在以往的文章https://www.cnblogs.com/bbqzsl/p/773

  • openssl的交叉编译2020-05-23 12:05:29

    1、openssl源码包下载 http://ftp.openssl.org/source/ http://distfiles.macports.org/openssl/ 2、Ubuntu编译与安装openssl # openssl库默认安装路径为:/usr/local/ssl/lib tar zxvf openssl-1.0.2q.tar.gz cd openssl-1.0.2q.tar.gz ./config -shared make sudo make ins

  • RSA算法---公钥密钥对生成方法2020-05-22 17:57:28

    前言: PEM是OpenSSL和许多其他SSL工具的标准格式,OpenSSL 使用PEM 文件格式存储证书和密钥。这种格式被设计用来安全的包含在ascii甚至富文本文档中,如电子邮件。这意味着您可以简单的复制和粘贴pem文件的内容到另一个文档中。 PEM文件是Base64编码的证书。PEM证书通常用于web服务

  • Git版本控制器2020-05-19 23:52:54

    Git:是一个版本控制工具。 Github:是非常有名的在线版本管理网站(速度比较慢)。 Oschina:中国版本的github,(旗下的的码云地址:gitee.com,速度快) ssh key:我们使用ssh登录服务器时,一般常见的会使用用户名/密码方式登录,使用ssh key可以实行免密码登录。(ssh是一种网络协议,用于计算机之间的加密

  • 编译nginx时openssl报错的解决方案2020-05-16 14:51:19

    出现提示错误openssl版本错误 src/event/ngx_event_openssl.c: In function ‘ngx_ssl_dhparam’: src/event/ngx_event_openssl.c:954:11: error: dereferencing pointer to incomplete type ‘DH’ {aka ‘struct dh_st’} dh->p = BN_bin2bn(dh1024_p, sizeof(dh1024_p), NULL

  • Python 3 源码安装过程中无法导入ssl问题解决2020-05-13 13:04:23

    参考: https://techglimpse.com/install-python-openssl-support-tutorial/ https://xu3352.github.io/python/2018/05/15/python-3-install   ssl 解决 直到看到了这篇文章:How to Compile and Install Python with OpenSSL Support?, 然后我尝试着手动源码重新安装了 openssl-1

  • 【解决pip不可用】windows/linux下python3pip is configured with locations that require TLS/SSL, however the..2020-05-07 14:02:05

    文章目录路人神对话——导火索路人提醒问题linux环境下解决 路人神对话——导火索 代号001大兄der,长点心吧hhh 主要原因网速慢别着急 路人提醒 路人甲 WINDOWS系统,就点击上面WINDOWS环境下的网址,下载那个64位MSI,我下载到的python运行的环境(你就当你的PYTHON运行程序

  • openssl_csr_new(): dn: add_entry_by_NID 13 错误2020-05-04 23:02:50

    在使用php生成证书CSR中出现错误: openssl_csr_new(): dn: add_entry_by_NID 13 -> somedomain.com (failed; check error queue and value of string_mask OpenSSL option if illegal characters are reported) ErrorException: Warning: openssl_csr_new(): dn: add_entry_by_N

  • .net core https 双向验证2020-05-02 20:00:37

    文章来自:https://www.cnblogs.com/axzxs2001/p/10070562.html   关于https双向认证的知识可先行google,这时矸接代码。 为了双向认证,我们首先得准备两个crt证书,一个是client.crt,一个是server.crt,有时为了验证是否同一个根证书的验证,这两个证书可以共有一个根证书root.crt。 首先要

  • libeay32.dll 和 ssleay32.dll 在1.1.0之后没有了2020-04-30 10:56:34

    The complete explanation is that 1.0.x and 1.1.x do not have the same naming conventions for the generated libraries. OpenSSL 1.1.x has moved into what they call the “unified build system” and changed themselves the names of the libraries. This was done o

  • Gmssl与Openssl版本兼容安装方式,解决gmssl安装后,openssl无法使用的问题2020-04-29 10:55:39

    unzip master.zipcd GmSSL-master/./config --prefix=/usr/local/gmssl --openssldir=/usr/local/gmssl no-shared //“--prefix=/usr/local/gmssl” 指定安装路径 “no-shared” 只编译静态库,不编译动态库,解决和openssl兼容问题makemake install 进入安装后的目录查看安装结果

  • debian8 编译安装python3.72020-04-28 16:55:07

    本文为学习记录,以防遗忘。由于debian8 python3是3.4版本,算是比较老的了,下载不少新版本的软件只支持python3.5或者更高。所以需要再编译安装新版本。这里以安装python3.7.3为例。首先先编译安装openssl安装依赖:# sudo apt install zlib1g-dev下载源码包# wget http://www.open

  • openssl 增加域名IP(SAN)2020-04-23 10:55:35

    拷贝openssl.cnf 增加 [ req ] default_bits = 2048default_md = sha256default_keyfile = privkey.pemdistinguished_name = req_distinguished_nameattributes = req_attributesx509_extensions = v3_ca # The extentions to add to the self signed cert   string_mask = u

  • Openssl 生成ECC证书及密钥2020-04-22 12:55:29

    前面一期介绍了windows下安装Openssl的方法。在此基础上,本期介绍利用openssl指令生成CA证书的方法,我们暂定CA名称为BJ2020,证书签名算法为ECDSA,待生成证书中的信息为下述内容:国家:CN所在省份:BeiJing所在区域:HaiDian生成证书的指令如下所述:步骤一:生成CA密钥对openssl ecparam -out BJ2

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有