Have spent the last couple days building all the latest versions from git sources and working on getting all services started successfully. The last issue I am now facing, I can’t actually log into GSA with my admin account and password OR a new user account and pass. It just comes up with a red line under the login box that says “Unknown Error”.
All log files in /opt/gvm/var/log/gvm indicated all is started OK and no errors recorded.
GVM versions
gsad --version
Oops, secure memory pool already initialized
Greenbone Security Assistant 20.08.0~git-17a736a39-gsa-20.08
Unknown error means you are getting an unexpected error while making an AJAX request from GSA in your web browser to our web server gsad for logging in. You need to check the output of the browser console for more details. Especially take a look at the network tab and the login request.
Thanks for the reply. I have loaded up both console and network and this is the error being presented in console. Does this mean anything you can decipher further?
I think I may have solved it, just for future reference. It appears that the issue was related to ‘gvm-manage-certs’ not running correctly last time. When looking in the web console, it was showing that login.html was allowed but other .js resources within were rejected. When I ran ‘bash -x gvm-manage-certs -a -f’ it showed the certs being successfully created but NOT able to be copied to one particular dir - /opt/gvm/var/lib/gvm/CA. Changed permissions to this dir and script was able to complete.
After restarting gsad.service the GSA site prompted a security warning for ‘unknown issuer’ but I was able to add an exception and log in successfully.