Skip to content

How sign certificate via API? #77

@soksssnn

Description

@soksssnn

Hello!
Please help me. I can't find how I can sign certificate via API. Cerificate was create. I tried do it in that way:
api = connection.get_api()
api.get_resource('/certificate').sign(name=user_ovpn,ca='ovpn_ca')
But got AttributeError: 'RouterOsResource' object has no attribute 'sign'.

Sorry for the stupid question. I am a newcomer in the python.
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions