重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2143|回复: 2
打印 上一主题 下一主题

[服务应用] redhat linux8 podman登录报x509: certificate has expired

[复制链接]
跳转到指定楼层
楼主
发表于 2021-7-29 17:00:33 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 郑全 于 2021-7-29 17:03 编辑

如下:
[student@servera ~]$ podman login registry.lab.example.com
Username: admin
Password:
Error: error authenticating creds for "registry.lab.example.com": error pinging docker registry registry.lab.example.com: Get https://registry.lab.example.com/v2/: x509: certificate has expired or is not yet valid

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

沙发
 楼主| 发表于 2021-7-29 17:02:59 | 只看该作者
[student@servera ~]$ podman info |grep registries -A 10
registries:
  registry.lab.example.com:
    Blocked: false
    Insecure: false
    Location: registry.lab.example.com
    MirrorByDigestOnly: false
    Mirrors: null
    Prefix: registry.lab.example.com
  search:
  - registry.lab.example.com
回复 支持 反对

使用道具 举报

板凳
 楼主| 发表于 2021-7-29 17:09:12 | 只看该作者
本帖最后由 郑全 于 2021-7-29 17:10 编辑
郑全 发表于 2021-7-29 17:02
[student@servera ~]$ podman info |grep registries -A 10
registries:
  registry.lab.example.com:

[student@servera ~]$ cat /etc/containers/registries.conf |grep -v -E '^$|^#'
[registries.search]
registries = ['registry.access.redhat.com', 'registry.redhat.io', 'docker.io']
[registries.insecure]
registries = []
[registries.block]
registries = []


[student@servera ~]$ cat .config/containers/registries.conf
unqualified-search-registries = ['registry.lab.example.com']

[[registry]]
location = "registry.lab.example.com"
insecure = false
blocked = false


回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-5-13 01:45 , Processed in 0.101389 second(s), 19 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表