memos icon indicating copy to clipboard operation
memos copied to clipboard

How to add CA certificate to transport to solve tls issue

Open jeven2016 opened this issue 1 year ago • 1 comments
trafficstars

Describe the bug

Hi team, a issue encountered while integrating memos with keycloak over HTTPS , How to add CA certificate to transport to solve tls issue ?

AuthCallback-nZeiGzTm.js:1 ClientError: /memos.api.v2.AuthService/SignInWithSSO INTERNAL: failed to exchange token, err: failed to exchange access token: Post "https://iam.super666.xyz/realms/home/protocol/openid-connect/token": tls: failed to verify certificate: x509: certificate signed by unknown authority at makeCall (index-vC1BnKoH.js:306:6112) at async at (index-vC1BnKoH.js:306:11471) at async Object.signInWithSSO (index-vC1BnKoH.js:306:11982)

Steps to reproduce

keycloak exposes on HTTPS but memos failed to call https api

The version of Memos you're using

latest

Screenshots or additional context

image

jeven2016 avatar Feb 21 '24 08:02 jeven2016

Issue is not in English. It has been translated automatically.


Title: How to add CA certificate to transport to solve tls issue

Issues-translate-bot avatar Feb 21 '24 08:02 Issues-translate-bot

close

jeven2016 avatar Feb 22 '24 10:02 jeven2016

close

jeven2016 avatar Feb 22 '24 10:02 jeven2016