inappropriate address 172.18.74.119 for the fudge

inappropriate address 172.18.74.119 for the fudge command, line ignored
查看ntp状态时显示这个错误
inappropriate address 172.18.74.119 for the fudge
vi /etc/ntp.conf
将fudge修改为Fudge
inappropriate address 172.18.74.119 for the fudge
重启ntp,查看服务
inappropriate address 172.18.74.119 for the fudge
在我这里可以修复,如有不同意见欢迎指出!

转载于:https://blog.51cto.com/13670314/2409699

"No appropriate protocol (protocol is disabled or cipher suites are inappropriate)"是一个javax.net.ssl.SSLHandshakeException异常的错误消息,它通常表示SSL握手失败,因为没有适当的协议可用或密码套件不合适。根据提供的引用内容,有几种解决方法可以尝试解决这个问题。 首先,可以尝试将TLSv1更改为null来解决此异常。这可以通过更改代码中的SSLConnectionSocketFactory来实现,如下所示: ``` SSLConnectionSocketFactory sslConnectionSocketFactory = new SSLConnectionSocketFactory( sslContext, null, // 将"TLSv1"改为null null, null, new DefaultHostnameVerifier()); ``` 这将允许Java使用默认的TLS协议进行SSL握手,从而解决异常。 另外,你还可以检查Java安装目录中的安全文件夹,以确保其中的证书和策略文件正确配置。根据提供的引用内容,默认的Linux路径是`/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.275.b01-1.el8_3.x86_64/jre/lib/security`,而Windows路径是`C:\Program Files\Java\jdk1.8.0_261\jre\lib\security`。你可以进入该目录并检查相关文件,例如cacerts(包含信任的证书)和java.security(包含SSL/TLS相关配置),确保它们处于正确状态。 综上所述,解决"No appropriate protocol (protocol is disabled or cipher suites are inappropriate)"异常的方法包括更改代码中的协议设置和检查Java安装目录中的安全文件夹。这些方法应该能够帮助你解决这个问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* *3* [javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher su 解决...](https://blog.csdn.net/weixin_44629395/article/details/127123945)[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: 100%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值