Skip to content

openshift admin create-server-cert stutters #1357

Closed

Description

@sdodson

This throws an error as the flags are --signer-signer-{cert,key,serial} rather than other commands which are --signer-{cert,key,serial}

openshift admin create-server-cert --hostnames=ose3-node3.example.com --signer-cert=/var/lib/openshift/openshift.local.certificates/ca/cert.crt --signer-key=/var/lib/openshift/openshift.local.certificates/ca/key.key --signer-serial=/var/lib/openshift/openshift.local.certificates/ca/serial.txt
unknown flag: --hostnames

Usage: 
  openshift admin create-server-cert [options]

Options:
      --cert="openshift.local.certificates/user/cert.crt": The certificate file.
      --hostnames=[]: Every hostname or IP you want server certs to be valid for. Comma delimited list
      --key="openshift.local.certificates/user/key.key": The key file.
      --overwrite=true: Overwrite existing cert files if found.  If false, any existing file will be left as-is.
      --signer-signer-cert="openshift.local.certificates/ca/cert.crt": The certificate file.
      --signer-signer-key="openshift.local.certificates/ca/key.key": The key file.
      --signer-signer-serial="openshift.local.certificates/ca/serial.txt": The serial file that keeps track of how many certs have been signed.

Global Options:
  -h, --help=false: help for create-server-cert
      --loglevel=0: Set the level of log output (0-5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions