Hello everyone, i am new in cerbos i am trying to ...
# help
a
Hello everyone, i am new in cerbos i am trying to connect cerbos with sqlite database and trying to put policies in database using cerbosctl but i am getting below error
Copy code
cerbosctl: error: failed to add or update the policies: failed to send batch [0,1): rpc error: code = Unavailable desc = connection error: desc = "transport: authentication handshake failed: tls: first record does not look like a TLS handshake"
config.yaml
Copy code
---
server:
  httpListenAddr: ":3592"
  grpcListenAddr: ":3593"
  playgroundEnabled: true
  adminAPI:
    enabled: true
    adminCredentials:
      username: cerbos
      passwordHash: JDJ5JDEwJHFGcjhCSEtqVWkyUzRSVzF4Tm5zbC5LMW9NME55NUhxaDNyWkJmdmlwV3p3QTB3VjFzMm9xCgo=
storage:
  driver: "sqlite3"
  sqlite3:
    dsn: ":memory:"
o
Hi @ANILA SOMAN, Would you mind trying to execute the
cerbosctl
command with the
--plaintext
flag?
a
thanks😃 working