• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Authentication ERROR, invalid security token [svn 5221]

Scheduled Pinned Locked Moved Solved
FOG Problems
5
13
3.7k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    robza
    last edited by Nov 4, 2015, 1:47 PM

    Hello,
    my config:
    fedora 22
    svn 5201
    I have installed new fog client on win 8.1 64bit, and I get this messages in fog.log

    2015-11-04 14:08 Client-Info Version: 0.9.5
     2015-11-04 14:08 GreenFOG Running...
     2015-11-04 14:08 Middleware::Communication URL: http://fog-server/fog/service/servicemodule-active.php?moduleid=greenfog&mac=30:5A:3A:7A:6C:91||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1
     2015-11-04 14:08 Middleware::Communication Response: Success
     2015-11-04 14:08 Middleware::Communication URL: http://fog-server/fog/service/greenfog.php?mac=30:5A:3A:7A:6C:91||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1
     2015-11-04 14:08 Middleware::Communication Response: Invalid host certificate
     2015-11-04 14:08 Middleware::Communication URL: http://fog-server/fog/management/other/ssl/srvpublic.crt
     2015-11-04 14:08 Middleware::Authentication ERROR: Could not get security token
     2015-11-04 14:08 Middleware::Authentication ERROR: Nie można odnaleźć pliku 'C:\Windows\system32\token.dat'.
     2015-11-04 14:08 Data::RSA CA cert found
     2015-11-04 14:08 Middleware::Authentication Cert OK
     2015-11-04 14:08 Middleware::Communication POST URL: http://fog-server/fog/management/index.php?sub=authorize
     2015-11-04 14:08 Middleware::Communication Response: Invalid security token
    

    I can get to this url http://fog-server/fog/management/other/ssl/srvpublic.crt
    certyikat_FOG.png
    Certificates are installed, I can see them in IE settings
    cert_FOG_IE.png
    Issuer is FOG Server CA, is valid to year 2025.

    Regards.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Nov 4, 2015, 1:53 PM

      The problem is, your server name is currently (on the clients) set to fog-server, where the FOG CA is set to scan for the IP address of the fog server. You can, of course, readjust this but it would require repinning the CA certificate to all the clients.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      R 1 Reply Last reply Nov 4, 2015, 2:19 PM Reply Quote 0
      • J
        Joe Schmitt Senior Developer
        last edited by Nov 4, 2015, 2:17 PM

        @Tom-Elliott , the client doesn’t care about the server address.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        1 Reply Last reply Reply Quote 0
        • R
          robza @Tom Elliott
          last edited by Nov 4, 2015, 2:19 PM

          @Tom-Elliott
          But Tom on another pc I don’t have this problems - I think 😉

          ---------------------------------TaskReboot----------------------------------
          ------------------------------------------------------------------------------
           2015-11-04 15:02 Client-Info Version: 0.9.5
           2015-11-04 15:02 TaskReboot Running...
           2015-11-04 15:02 Middleware::Communication URL: http://fog-server/fog/service/servicemodule-active.php?moduleid=taskreboot&mac=30:5A:3A:7A:66:03||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1
           2015-11-04 15:02 Middleware::Communication Response: Success
           2015-11-04 15:02 Middleware::Communication URL: http://fog-server/fog/service/jobs.php?mac=30:5A:3A:7A:66:03||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1
           2015-11-04 15:02 Middleware::Communication Response: Invalid host certificate
           2015-11-04 15:02 Middleware::Communication URL: http://fog-server/fog/management/other/ssl/srvpublic.crt
           2015-11-04 15:02 Data::RSA CA cert found
           2015-11-04 15:02 Middleware::Authentication Cert OK
           2015-11-04 15:02 Middleware::Communication POST URL: http://fog-server/fog/management/index.php?sub=authorize
           2015-11-04 15:02 Middleware::Communication Response: Success
           2015-11-04 15:02 Middleware::Authentication Authenticated
           2015-11-04 15:02 Middleware::Communication URL: http://fog-server/fog/service/jobs.php?mac=30:5A:3A:7A:66:03||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1&newService=1
           2015-11-04 15:02 Middleware::Communication Response: No jobs
          

          So how and where I can change issuer from FOG Server CA to ip address?
          Regards

          1 Reply Last reply Reply Quote 0
          • T
            Tom Elliott
            last edited by Nov 4, 2015, 2:21 PM

            According to @jbob, it doesn’t matter, so something else is going weird. Maybe permissions to the token.dat file? I don’t know @Jbob, when you can please chime in to help as he has two systems, one that works and the other that doesn’t which tells me it’s not the SVN at the moment, or seemingly at the least.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • H
              Hanz
              last edited by Nov 4, 2015, 3:13 PM

              I too am having this issue, certs are there, but there is no token.dat file under \windows\system32…I’d like to add that this is a windows 10 machine

              H 1 Reply Last reply Nov 4, 2015, 3:16 PM Reply Quote 0
              • H
                Hanz @Hanz
                last edited by Nov 4, 2015, 3:16 PM

                This post is deleted!
                T 1 Reply Last reply Nov 4, 2015, 3:21 PM Reply Quote 0
                • H
                  Hanz
                  last edited by Nov 4, 2015, 3:18 PM

                  11/4/2015 10:03 AM Client-Info Version: 0.9.5
                   11/4/2015 10:03 AM Middleware::Communication URL: http://10.72.3.50/fog/management/other/ssl/srvpublic.crt
                   11/4/2015 10:03 AM Data::RSA CA cert found
                   11/4/2015 10:04 AM Middleware::Authentication Cert OK
                   11/4/2015 10:04 AM Middleware::Communication POST URL: http://10.72.3.50/fog/management/index.php?sub=authorize
                   11/4/2015 10:04 AM Middleware::Communication Response: Invalid security token
                   11/4/2015 10:04 AM Bus Registering ParseBus in channel Power```
                  1 Reply Last reply Reply Quote 0
                  • T
                    Tom Elliott @Hanz
                    last edited by Nov 4, 2015, 3:21 PM

                    @Hanz So, is all your systems doing this, or just this one machine?

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    H 1 Reply Last reply Nov 4, 2015, 3:27 PM Reply Quote 0
                    • H
                      Hanz @Tom Elliott
                      last edited by Nov 4, 2015, 3:27 PM

                      @Tom-Elliott just one machine, but after resetting encryption data…it worked correctly…I uninstalled and reinstalled client…and then reset encryption data

                      1 Reply Last reply Reply Quote 0
                      • W
                        Wayne Workman
                        last edited by Nov 4, 2015, 9:12 PM

                        Has resetting the encryption on the problem host been attempted?

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

                        R 1 Reply Last reply Nov 5, 2015, 8:10 AM Reply Quote 0
                        • R
                          robza @Wayne Workman
                          last edited by Nov 5, 2015, 8:10 AM

                          @Wayne-Workman
                          After reset encyption data works fine.
                          Thanks for help
                          Regards

                          1 Reply Last reply Reply Quote 0
                          • H
                            Hanz
                            last edited by Nov 12, 2015, 1:03 PM

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post

                            149

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project