2017-04-21 10:16 GMT+02:00 Barış Aydınöz <[email protected]>:

>
> *We can not deploy secure registry on OCP 3.5. Below you can find error*
>
> [root@ip-10-20-4-38 master]# oc version
> oc v3.5.5.5
> kubernetes v1.5.2+43a9be4
> features: Basic-Auth GSSAPI Kerberos SPNEGO
>
> Server https://master.hazelcast-ocp.com:8443
> openshift v3.5.5.5
> kubernetes v1.5.2+43a9be4
>
> oadm ca create-server-cert \
> > >     --signer-cert=/etc/origin/master/ca.crt \
> > >     --signer-key=/etc/origin/master/ca.key \
> > >     --signer-serial=/etc/origin/master/ca.serial.txt \
> > >     --hostnames='registry.hazelcast-ocp.com,docker-
> registry.default.svc.cluster.local,172.30.221.40' \
> > >     --cert=/etc/secrets/registry.crt \
> > >     --key=/etc/secrets/registry.key
> bash: --signer-cert=/etc/origin/master/ca.crt:* No such file or directory*
>

Because you have an error from bash, it looks like a shell-related problem
and how you specify this command.

Is it possible that after one of the back slash (\) you have a space
character? Would it work if you type it as a one-line command (or put into
the script)?

Also you can insert echo to the front of the command to see what command
will be executed after shell expansion.

-- 
Slava Semushin | OpenShift
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to