outline-server icon indicating copy to clipboard operation
outline-server copied to clipboard

Is there any possibility to regenerate apiurl and cert?

Open ketchoop opened this issue 2 years ago • 3 comments

Hello! I have to regenerate apiURL and certSha256 secrets, due to compromised access to these secrets. Is there any way to do it?

ketchoop avatar Sep 18 '23 10:09 ketchoop

Thanks for reaching out! Reinstalling the server should do the trick.

maddyhof avatar Sep 20 '23 19:09 maddyhof

Will reinstalling keep user access keys?

Thank you for your response!

ketchoop avatar Sep 20 '23 20:09 ketchoop

Hi @ketchoop , to avoid any problems, we recommend backing up all your access keys. You can find them in either /opt/outline/persisted-state/shadowbox_config.json or /root/shadowbox/persisted-state/shadowbox_config.json on your Outline server.

You can also backup everything else (for example, the usage data). Here is a comment that describes how to do that: https://github.com/Jigsaw-Code/outline-server/issues/450#issuecomment-1407153399

After you reinstall the server, you can check whether the access keys have been cleared. If they have, you can restore the data that you backed up.

jyyi1 avatar Sep 20 '23 21:09 jyyi1