This function sets a user’s preferred SSL/TLS key type.
uapi --output=jsonpretty \ --user=username \ SSL \ set_default_key_type \ type='ecdsa-prime256v1'
{- "apiversion": 3,
- "func": "set_default_key_type",
- "module": "SSL",
- "result": {
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}