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

Could not get security token - token.dat

Scheduled Pinned Locked Moved Unsolved
FOG Problems
5
10
8.3k
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.
  • H
    holzfisch
    last edited by Jun 1, 2015, 11:24 AM

    fog.log

    01.06.2015 13:00 RegistryHandler 64 bit registry detected
    01.06.2015 13:00 Client-Info Version: 0.8.0
    01.06.2015 13:00 CommunicationHandler URL: http://192.168.1.14/fog/management/other/ssl/srvpublic.crt
    01.06.2015 13:00 CommunicationHandler ERROR: Could not get security token
    01.06.2015 13:00 CommunicationHandler ERROR: Die Datei “C:\Windows\system32\token.dat” konnte nicht gefunden werden.

    Is there after the update to svn3495 something to do?

    greetings

    Michael

    1 Reply Last reply Reply Quote 0
    • J
      Joe Schmitt Senior Developer
      last edited by Joe Schmitt Jun 1, 2015, 7:22 AM Jun 1, 2015, 1:19 PM

      That error will always occur on the first run. As long as it still authenticates you are fine. What concerns me is the CA cert issue in the logs. It seems the handshake public key is missing. Tom will be able to help you regenerate it

      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.

      H 1 Reply Last reply Nov 8, 2015, 6:42 AM Reply Quote 0
      • H
        Hanz @Joe Schmitt
        last edited by Nov 8, 2015, 6:42 AM

        @Jbob I’m having a similar issue…this output is from a vm that I registered and deployed sysprep to via Quick Image…

        ------------------------------------------------------------------------------
        --------------------------------Authentication--------------------------------
        ------------------------------------------------------------------------------
         11/8/2015 12:52 AM Client-Info Version: 0.9.5
         11/8/2015 12:52 AM Middleware::Communication URL: http://10.72.3.50/fog/management/other/ssl/srvpublic.crt
         11/8/2015 12:54 AM Middleware::Authentication ERROR: Could not get security token
         11/8/2015 12:54 AM Middleware::Authentication ERROR: Could not find file 'C:\Windows\system32\token.dat'.
         11/8/2015 12:54 AM Data::RSA CA cert found
         11/8/2015 12:54 AM Middleware::Authentication Cert OK
         11/8/2015 12:54 AM Middleware::Communication POST URL: http://10.72.3.50/fog/management/index.php?sub=authorize
         11/8/2015 12:54 AM Middleware::Communication Response: Invalid security token
         11/8/2015 12:54 AM Bus Registering ParseBus in channel Power
        
        

        This is after a reboot, which I’m assuming should succeed.

        Fedora 22 SVN 5229 client 9.5

        Token.dat is not present under /windows/system32 this after I reset encryption data

        1 Reply Last reply Reply Quote 0
        • J
          Joe Schmitt Senior Developer
          last edited by Joe Schmitt Nov 8, 2015, 11:00 AM Nov 8, 2015, 5:00 PM

          @Hanz The client will not have a security token until after the first successful authentication. The problem is that the server doesn’t seem to be doing “Reset encryption data” right. Paging @Tom-Elliott

          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.

          H 1 Reply Last reply Nov 9, 2015, 1:24 PM Reply Quote 0
          • H
            Hanz @Joe Schmitt
            last edited by Nov 9, 2015, 1:24 PM

            @Jbob I’d also like to add that I had an existing cert from FOG, but something other than FOG CA…it was dated from 9/2015 thru 9/2025. I deleted this “old” cert as it could have been from my previous FOG server that was Ubuntu based. Now I guess there is a possibility that this old cert is on some of my machines as well, causing issues with authentication. I’ll look into this further.

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

              This seems to be relating to the ca in the first place. If the ca is from September did you change the ca recently? The error, as I see it, is not a validation of the server but literally the security token is out of sync.

              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 9, 2015, 10:06 PM Reply Quote 0
              • H
                Hanz @Tom Elliott
                last edited by Nov 9, 2015, 10:06 PM

                @Tom-Elliott yes i went from Ubuntu to fedora and started over basically(for which I’m thankful). Any new install, I thought, created a new cert…I reinstalled once before with the -c to create a new cert…not knowing that it was disastrous… Jbob gave me a snap-in to repin, and that makes everything ok on older clients, circa first server, now it seems like fresh installs need repinned.

                1 Reply Last reply Reply Quote 0
                • C
                  ch3i Moderator
                  last edited by Nov 17, 2015, 4:00 PM

                  Same here :

                  I’ve fresh install a new FOG server (only restore image / image group association), and I have that error on a fresh client installation (new PC installed - never had FOG client before)

                  ------------------------------------------------------------------------------
                  ----------------------------------TaskReboot----------------------------------
                  ------------------------------------------------------------------------------
                   17/11/2015 15:37 Client-Info Version: 0.9.7
                   17/11/2015 15:37 TaskReboot Running...
                   17/11/2015 15:37 Middleware::Communication URL: http://172.20.0.4/fog/service/servicemodule-active.php?moduleid=taskreboot&mac=00:50:56:AA:28:16||00:00:00:00:00:00:00:E0&newService=1
                   17/11/2015 15:37 Middleware::Communication Response: Success
                   17/11/2015 15:37 Middleware::Communication URL: http://172.20.0.4/fog/service/jobs.php?mac=00:50:56:AA:28:16||00:00:00:00:00:00:00:E0&newService=1
                   17/11/2015 15:37 Middleware::Communication Response: Invalid host certificate
                   17/11/2015 15:37 Middleware::Communication URL: http://172.20.0.4/fog/management/other/ssl/srvpublic.crt
                   17/11/2015 15:37 Middleware::Authentication ERROR: Could not get security token
                   17/11/2015 15:37 Middleware::Authentication ERROR: Impossible de trouver le fichier 'C:\Windows\system32\token.dat'.
                   17/11/2015 15:37 Data::RSA FOG Server CA cert found
                   17/11/2015 15:37 Middleware::Authentication Cert OK
                   17/11/2015 15:37 Middleware::Communication POST URL: http://172.20.0.4/fog/management/index.php?sub=authorize
                   17/11/2015 15:37 Middleware::Communication Response: Invalid host certificate
                  ------------------------------------------------------------------------------
                  
                  
                  ------------------------------------------------------------------------------
                  --------------------------------HostnameChanger-------------------------------
                  ------------------------------------------------------------------------------
                   17/11/2015 15:37 Client-Info Version: 0.9.7
                   17/11/2015 15:37 HostnameChanger Running...
                   17/11/2015 15:37 Middleware::Communication URL: http://172.20.0.4/fog/service/servicemodule-active.php?moduleid=hostnamechanger&mac=00:50:56:AA:28:16||00:00:00:00:00:00:00:E0&newService=1
                   17/11/2015 15:37 Middleware::Communication Response: Success
                   17/11/2015 15:37 Middleware::Communication URL: http://172.20.0.4/fog/service/hostname.php?moduleid=hostnamechanger&mac=00:50:56:AA:28:16||00:00:00:00:00:00:00:E0&newService=1
                   17/11/2015 15:37 Middleware::Communication Response: Invalid host certificate
                   17/11/2015 15:37 Middleware::Communication URL: http://172.20.0.4/fog/management/other/ssl/srvpublic.crt
                   17/11/2015 15:37 Middleware::Authentication ERROR: Could not get security token
                   17/11/2015 15:37 Middleware::Authentication ERROR: Impossible de trouver le fichier 'C:\Windows\system32\token.dat'.
                   17/11/2015 15:37 Data::RSA FOG Server CA cert found
                   17/11/2015 15:37 Middleware::Authentication Cert OK
                   17/11/2015 15:37 Middleware::Communication POST URL: http://172.20.0.4/fog/management/index.php?sub=authorize
                   17/11/2015 15:37 Middleware::Communication Response: Invalid host certificate
                  
                  H 1 Reply Last reply Nov 17, 2015, 4:02 PM Reply Quote 0
                  • H
                    Hanz @ch3i
                    last edited by Hanz Nov 17, 2015, 10:12 AM Nov 17, 2015, 4:02 PM

                    @ch3i See this post, might clear things up

                    https://forums.fogproject.org/topic/6130/certificate-issues-since-moving-fog-from-ubuntu-to-fedora

                    No issues with this after 5374

                    C 1 Reply Last reply Nov 17, 2015, 4:19 PM Reply Quote 1
                    • C
                      ch3i Moderator @Hanz
                      last edited by Nov 17, 2015, 4:19 PM

                      @Hanz Thx I’ll test, I’m on 5360

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post

                      203

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project