Im not quite sure about this one. I have self signed certs for nodes and admin and the opensearch cluster boots fine and show green status.
When i try to restore a snapshot using admin certs i get “Unauthorized”
Do you have an internal user defined that matches the CN on your admin certificate?
Do you have certificate authentication enabled in config.yml (it is off by default)?
The security initialization does not rely on the internal user database (since it may not exist yet), but the API calls use the authentication defined in config.yml.
You don’t need to create a user as none of the roles will allow you to execute admin tasks. Only the users defined in admin_dn can execute restore when snapshot contains .opendistro_security index.