Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When trying to domain from fog Authentication error: Could not get security token (version 1.5.10) #556

Open
glicks-code opened this issue Mar 14, 2023 · 6 comments

Comments

@glicks-code
Copy link

Hello

We are finding an issue on version 1.5.10 fog and client 0.13 and we tried 0.12.2 client version all of which cause same issue
expect legacy which provides another saying Domain error 2692
the issue which is appearing is the following:
Authentication No token found at C:\Program files (x86)\Fog\token.bat'
Authentication error: Could not get security token
Authentication error: Could not find file at C:\Program files (x86)\Fog\token.bat'
Communication POST URL: http:/fogserver/fog/management/index.php?sub=requestClientInfo&authorize&newSevice
Response Private key failed

Thanks for understanding hope you can fix this issue

@Sebastian-Roth
Copy link
Member

@glicks-code said:

Response Private key failed

This is the actual error message we need to look into to get this fixed. I am wondering if you see any error message in the apache or PHP logs?

Did you update from an older version or is this a fresh new install?

@Sebastian-Roth
Copy link
Member

@glicks-code Is this topic related to #557?

@Sebastian-Roth
Copy link
Member

@glicks-code Let me re-phrase my question. Are #557 and #556 about the exact same problem or is there any difference which I have not noticed so far? If they are both about the same topic I will close this issue report in favor of #557.

@Sebastian-Roth
Copy link
Member

@glicks-code Ok, let's look into your particular issue more closely. The error message mentioned stems from this part of the FOG PHP code:

$sslfilecontents = file_get_contents($sslfile);

So as a first diagnosing step we need to see the file is accessible. Please run the following commands on the FOG server console and post output here:

getenforce
ls -alZ /opt/fog/snapins/ssl/.srvprivate.key

As well let us know which Linux OS and version you use?

@glicks-code
Copy link
Author

glicks-code commented Mar 22, 2023

@Sebastian-Roth
getenforce
ls -alZ /opt/fog/snapins/ssl/.srvprivate.key the result was " -rwxrwxrwx 1 fog project www-data ? 2324 Mar 5 19:45 /opt/fog/snapins/ssl/.srvprivate.key"
As well let us know which Linux OS and version you use?
Debian GNU/Linux 11 (bullseye)

@Sebastian-Roth
Copy link
Member

@glicks-code We somehow lost track of this issue. Do you still see the same problem happening?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants