It seems that directory is completely empty. Anyone have installed
openshift-3.11 ?

[root@master ws-certs.d]# pwd
/etc/cockpit/ws-certs.d
[root@master ws-certs.d]# ls -la
total 0
drwxr-xr-x. 2 root root  6 Oct 18 22:10 .
drwxr-xr-x. 4 root root 42 Oct 18 10:00 ..
[root@master ws-certs.d]#



On Thu, Oct 18, 2018 at 10:05 PM Omer SEN <omerf...@gmail.com> wrote:

> Hello,
>
> Has anyone seen
>
> pulling image error : Get https://docker-registry.default.svc:5000/v2/:
> http: server gave HTTP response to HTTPS client
> error: build error: unable to get docker-
>
> Error message while creating and deploying new project and application?
>
> I am following simply
>
>
> https://docs.openshift.com/container-platform/3.11/getting_started/developers_console.html
>
> Also
>
>  *openssl s_client -connect   docker-registry.default.svc:5000 *
> CONNECTED(00000003)
> 140196328826768:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown
> protocol:s23_clnt.c:794:
> ---
> no peer certificate available
> ---
> No client certificate CA names sent
> ---
> SSL handshake has read 7 bytes and written 289 bytes
> ---
> New, (NONE), Cipher is (NONE)
> Secure Renegotiation IS NOT supported
> Compression: NONE
> Expansion: NONE
> No ALPN negotiated
> SSL-Session:
>     Protocol  : TLSv1.2
>     Cipher    : 0000
>     Session-ID:
>     Session-ID-ctx:
>     Master-Key:
>     Key-Arg   : None
>     Krb5 Principal: None
>     PSK identity: None
>     PSK identity hint: None
>     Start Time: 1539896539
>     Timeout   : 300 (sec)
>     Verify return code: 0 (ok)
>
>
> I have used
>
>
>    1.
>
>    Delete the default registry using the following command.
>
>    $ oc delete all -l docker-registry=default
>
>    2.
>
>    Create the *docker-registry* service in the *default* project using
>    the *registry* service account.
>
>    $ oc adm registry
>
>
> to create a new registry and
>
>
> [root@master ~]# *oc get pods -n default     *
>
> NAME                       READY     STATUS    RESTARTS   AGE
> docker-registry-1-vbxhw    1/1       Running   0          8m
> registry-console-1-bqt99   1/1       Running   1          11h
> router-1-qzkps             1/1       Running   0          1h
> [root@master ~]#
> [root@master ~]#
> [root@master ~]# *oc logs -n default  -f
> registry-console-1-bqt99            *
> INFO: cockpit-ws: *Using certificate:
> /etc/cockpit/ws-certs.d/0-self-signed.cert*
>
>
> It seems my docker registry simply running on http not https
>
>  # nc  docker-registry.default.svc 5000
>
> HTTP/1.1 400 Bad Request
> Content-Type: text/plain; charset=utf-8
> Connection: close
>
> 400 Bad Request
>
>
>
_______________________________________________
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to