error:03000086:digital envelope routines::initialization error、library: 'digital envelope routines'
时间: 2023-09-22 18:12:39 浏览: 82
这个错误通常表示在加密和解密数字信封时出现了初始化错误。它可能是由于缺失或损坏的加密库文件引起的。要解决这个问题,你可以尝试以下步骤:
1. 确保你的系统上安装了正确版本的加密库。你可以通过更新或重新安装相关的加密软件包来解决此问题。
2. 检查你的代码中是否存在任何错误或不完整的加密相关操作,例如密钥生成、密钥加载、加密、解密等。
3. 确保你的代码中使用的加密算法和密钥长度与你的加密库的要求相匹配。有时候使用不受支持的算法或无效的密钥长度也会导致此错误。
如果以上方法没有解决问题,你可能需要进一步调查错误详细信息以找到更具体的解决方法。
相关问题
vue error:03000086:digital envelope routines::initialization error
Vue error: 03000086 refers to a digital envelope routines initialization error. This error typically occurs when there is an issue with the SSL/TLS certificate or encryption settings in your Vue application.
To resolve this error, you can try the following steps:
1. Check your SSL/TLS certificate: Make sure that your SSL/TLS certificate is valid and properly configured. Ensure that the certificate is not expired and matches the domain you are using.
2. Verify encryption settings: Ensure that the encryption settings in your Vue application are correctly configured. Check if the encryption algorithm and key length are compatible with the server you are connecting to.
3. Update dependencies: Update the dependencies in your Vue application, including any SSL/TLS libraries or packages that you are using. Outdated or incompatible dependencies can sometimes cause initialization errors.
4. Check network connectivity: Ensure that your network connection is stable and there are no issues with the server you are trying to connect to. Sometimes, network interruptions or server-side problems can cause initialization errors.
error:03000086:digital envelope routines::initialization error'
error:03000086:digital envelope routines::initialization error是一个错误消息,提示在使用node初始化vue-cli脚手架项目并运行时出现了一个加密模块的初始化错误。这个错误通常是由于使用了不受支持的加密算法引起的。根据引用和引用的内容,这个错误可能是由于使用了较新版本的node(如node 18.*)而引起的,而该版本引入了OpenSSL 3.0,其中对允许的算法和密钥大小有了更严格的限制。为了解决这个问题,可以在命令行中执行以下命令:set NODE_OPTIONS=--openssl-legacy-provider。这将使用旧版本的OpenSSL提供程序,以解决与加密模块相关的错误。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [npm run dev 报错:Error: error:0308010C:digital envelope routines::unsupported](https://blog.csdn.net/zp357252539/article/details/122559236)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [opensslErrorStack: [ ‘error:03000086:digital envelope routines::initialization error‘ ], library](https://blog.csdn.net/apple_51931783/article/details/129232309)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
相关推荐
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)