basho / riak

Riak is a decentralized datastore from Basho Technologies.
http://docs.basho.com
Apache License 2.0
3.96k stars 537 forks source link

Unable to add password authentication for riak control on browser in ubuntu 22.04 #1132

Open namratathorve opened 1 year ago

namratathorve commented 1 year ago

1) Enabled riak-admin security. 2) Enabled riak.auth.mode=userlist 3) Enabled SSL for riak server https://127.0.0.1:8098 Installed riak_kv 2.2.2 Installed nginx reverse proxy Install certbot for SSL We have done this configuration till now but still not able to enable password authentication for riak Please help to resolve this issue. My team solving this error from last 3 weeks.

Thanks & Regards, Namrata T.

martinsumner commented 1 year ago

If you wish to use security features in Riak it would be useful to use an up-to-date version of Riak, as otherwise you will be depending on out-of-date and deprecated SSL code. The Riak 2.2.2 version is now 6 years old, and is coupled to a version of the OTP platform that is more than 10 years old. The latest version is Riak 3.0.15 - but note, that in these later versions, Riak Control is no longer supported.

There are some instructions on how to set up security. I would recommend first trying to get it set-up without a reverse proxy, before extending to use a nginx reverse proxy.

namratathorve commented 1 year ago

@martinsumner I have done all the installations which you said but still I am not able to enable the password authentication. I created the Openssl and generate ssl and gave the path to riak.conf file still not able to access riak https://localhost:8098