Skip to content

[enhancement]: Add cli / api support for certificates #3036

Open
@mcm1957

Description

@mcm1957

No existing issues.

  • There is no existing issue for my request.

Description

Please consider adding support to manage certificates at clie and api level.

Currently commands ìobroker cert createand ìobroker cert viewexists. Please consider adding the commands:

  • cert import
    This command should import a certifcate from a file (cli) and from a file and optionally from a buffer (api) into ioBroker cert storage

  • cert export
    This command should export a certifcate from ioBroker cert store into a file (cli) and into a file and optionally into a buffer (api)

  • cert set / cert activate
    If oioBroker store can handle more than one cert this command / api should select and activate the specified cert

  • cert delete / cert remove
    as a housekeeping command to remove outdated certs

Why?

Currently certificates are updated by ACME adapter. This adapter is poorly maintained and underlying acme package is no longer maintained. In ma oppinion it would be a good idea to seperate the creation / updating of certificates from handling them inside ioBroker. By adding the aboe commands (and api) it would be possible that users could use whatever software they prefer to create a certificat file and to import the certificates into iobroker without manual action. (Importing iúsing admin canot be done automatically.)

If thise interfaces are available certificates could be created i.e. by certbit (on linux) or any other adapter to be written in future. If a support using java-script adapter seems possible.

For refernce see issue at acme adapter suggesting to move to cert bot.

How?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions