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

Private key failed

Scheduled Pinned Locked Moved Solved
Bug Reports
6
57
18.9k
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.
  • W
    Wayne Workman
    last edited by Wayne Workman Mar 28, 2016, 7:54 AM Mar 28, 2016, 1:51 PM

    r6961 - Fedora 21
    Host is a Lenovo L530 with Win7 Pro x64 with all recommended windows updates installed.

    I have FOG Client version 0.9.11 installed on it. I’m not sure if this is because 0.9.12 was rolled back or if it’s because of the authentication failure.

    The reset-encryption button was also missing for this host.

    Here is the relevant logs, they just repeat this over and over:

    ------------------------------------------------------------------------------
    --------------------------------Authentication--------------------------------
    ------------------------------------------------------------------------------
     3/28/2016 8:33 AM Client-Info Version: 0.9.11
     3/28/2016 8:33 AM Middleware::Communication URL: http://10.2.1.11/fog/management/other/ssl/srvpublic.crt
     3/28/2016 8:33 AM Data::RSA FOG Server CA cert found
     3/28/2016 8:33 AM Middleware::Authentication Cert OK
     3/28/2016 8:33 AM Middleware::Communication POST URL: http://10.2.1.11/fog/management/index.php?sub=authorize
     3/28/2016 8:33 AM Middleware::Communication Unknown Response: Private key failed
     3/28/2016 8:33 AM Service Sleeping for 120 seconds
    
    ------------------------------------------------------------------------------
    --------------------------------Authentication--------------------------------
    ------------------------------------------------------------------------------
     3/28/2016 8:35 AM Client-Info Version: 0.9.11
     3/28/2016 8:35 AM Middleware::Communication URL: http://10.2.1.11/fog/management/other/ssl/srvpublic.crt
     3/28/2016 8:35 AM Data::RSA FOG Server CA cert found
     3/28/2016 8:35 AM Middleware::Authentication Cert OK
     3/28/2016 8:35 AM Middleware::Communication POST URL: http://10.2.1.11/fog/management/index.php?sub=authorize
     3/28/2016 8:35 AM Middleware::Communication Unknown Response: Private key failed
     3/28/2016 8:35 AM Service Sleeping for 120 seconds
    
    ------------------------------------------------------------------------------
    --------------------------------Authentication--------------------------------
    ------------------------------------------------------------------------------
     3/28/2016 8:37 AM Client-Info Version: 0.9.11
     3/28/2016 8:37 AM Middleware::Communication URL: http://10.2.1.11/fog/management/other/ssl/srvpublic.crt
     3/28/2016 8:37 AM Data::RSA FOG Server CA cert found
     3/28/2016 8:37 AM Middleware::Authentication Cert OK
     3/28/2016 8:37 AM Middleware::Communication POST URL: http://10.2.1.11/fog/management/index.php?sub=authorize
     3/28/2016 8:37 AM Middleware::Communication Unknown Response: Private key failed
     3/28/2016 8:37 AM Service Sleeping for 120 seconds
     3/28/2016 8:39 AM Service Stop requested
     3/28/2016 8:39 AM Bus {
      "channel": "Status",
      "data": "{\r\n  \"action\": \"unload\"\r\n}"
    }
     3/28/2016 8:39 AM Bus Emmiting message on channel: Status
     3/28/2016 8:39 AM Bus Became bus server
     3/28/2016 8:39 AM Bus {
      "channel": "Status",
      "data": "{\r\n  \"action\": \"load\"\r\n}"
    }
     3/28/2016 8:39 AM Bus Emmiting message on channel: Status
    
    ------------------------------------------------------------------------------
    --------------------------------Authentication--------------------------------
    ------------------------------------------------------------------------------
     3/28/2016 8:39 AM Client-Info Version: 0.9.11
     3/28/2016 8:39 AM Middleware::Communication URL: http://10.2.1.11/fog/management/other/ssl/srvpublic.crt
     3/28/2016 8:39 AM Data::RSA FOG Server CA cert found
     3/28/2016 8:39 AM Middleware::Authentication Cert OK
     3/28/2016 8:39 AM Middleware::Communication POST URL: http://10.2.1.11/fog/management/index.php?sub=authorize
     3/28/2016 8:39 AM Middleware::Communication Unknown Response: Private key failed
     3/28/2016 8:39 AM Service Sleeping for 120 seconds
    
    ------------------------------------------------------------------------------
    --------------------------------Authentication--------------------------------
    ------------------------------------------------------------------------------
     3/28/2016 8:41 AM Client-Info Version: 0.9.11
     3/28/2016 8:41 AM Middleware::Communication URL: http://10.2.1.11/fog/management/other/ssl/srvpublic.crt
     3/28/2016 8:41 AM Data::RSA FOG Server CA cert found
     3/28/2016 8:41 AM Middleware::Authentication Cert OK
     3/28/2016 8:41 AM Middleware::Communication POST URL: http://10.2.1.11/fog/management/index.php?sub=authorize
     3/28/2016 8:41 AM Middleware::Communication Unknown Response: Private key failed
     3/28/2016 8:41 AM Service Sleeping for 120 seconds
    

    I noticed the issue when the target host wouldn’t join the domain automatically. I’ve not done anything to my key. This morning I just ran svn up in the trunk directory and then ran the installer with the -y argument as usual.

    For the moment I’m going to roll back because I need to go image a lab. Later today I’ll have more time to look at what’s wrong.

    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/

    T 1 Reply Last reply Mar 28, 2016, 2:05 PM Reply Quote 0
    • W
      Wayne Workman
      last edited by Mar 28, 2016, 1:56 PM

      Rolling back to r6677 caused the error to change to “Invalid Security Token”, and the “Reset Encryption” button also came back. After resetting the encryption, it seems to be working fine now.

      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/

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott @Wayne Workman
        last edited by Mar 28, 2016, 2:05 PM

        @Wayne-Workman Should now be fixed.

        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 Mar 28, 2016, 4:14 PM Reply Quote 0
        • W
          Wayne Workman
          last edited by Mar 28, 2016, 3:39 PM

          Confirmed fixed in r6963

          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/

          1 Reply Last reply Reply Quote 1
          • R
            Raymond Bell Testers @Tom Elliott
            last edited by Mar 28, 2016, 4:14 PM

            @Tom-Elliott I am getting this with r5130 v6963 over and over

            ------------------------------------------------------------------------------
            --------------------------------Authentication--------------------------------
            ------------------------------------------------------------------------------
             3/28/2016 7:10 PM Client-Info Version: 0.9.11
             3/28/2016 7:10 PM Middleware::Communication URL: http://10.24.28.18/fog/management/other/ssl/srvpublic.crt
             3/28/2016 7:10 PM Data::RSA FOG Server CA cert found
             3/28/2016 7:10 PM Middleware::Authentication Cert OK
             3/28/2016 7:10 PM Middleware::Communication POST URL: http://10.24.28.18/fog/management/index.php?sub=authorize
             3/28/2016 7:10 PM Middleware::Communication Unknown Response: Private key not found
             3/28/2016 7:10 PM Service Sleeping for 120 seconds```

            Raymond Bell
            WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

            T 1 Reply Last reply Mar 28, 2016, 4:16 PM Reply Quote 0
            • T
              Tom Elliott @Raymond Bell
              last edited by Mar 28, 2016, 4:16 PM

              @Raymond-Bell No, you’re not.

              THe indicator?

              Your client version is on 0.9.11. It’s about about a week or so that 0.9.12 has been out.

              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 Mar 28, 2016, 4:21 PM Reply Quote 0
              • R
                Raymond Bell Testers @Tom Elliott
                last edited by Mar 28, 2016, 4:21 PM

                @Tom-Elliott so i need to upload the new client to all 900 computers?

                Raymond Bell
                WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                T 1 Reply Last reply Mar 28, 2016, 4:26 PM Reply Quote 0
                • T
                  Tom Elliott @Raymond Bell
                  last edited by Mar 28, 2016, 4:26 PM

                  @Raymond-Bell You shouldn’t need to do anything because the client’s auto update.

                  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 Mar 28, 2016, 4:26 PM Reply Quote 0
                  • R
                    Raymond Bell Testers @Tom Elliott
                    last edited by Mar 28, 2016, 4:26 PM

                    @Tom-Elliott said:

                    @Raymond-Bell You shouldn’t need to do anything because the client’s auto update.

                    Ok i will just sit back and give it time and see what happens
                    Thanks

                    Raymond Bell
                    WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                    1 Reply Last reply Reply Quote 0
                    • T
                      Tom Elliott
                      last edited by Mar 28, 2016, 4:27 PM

                      Does the /opt/fog/snapins/ssl/.srvprivate.key exist on the 10.24.28.18 server?

                      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 2 Replies Last reply Mar 28, 2016, 4:29 PM Reply Quote 0
                      • R
                        Raymond Bell Testers @Tom Elliott
                        last edited by Mar 28, 2016, 4:29 PM

                        @Tom-Elliott said:

                        Does the /opt/fog/snapins/ssl/.srvprivate.key exist on the 10.24.28.18 server?

                        Yes sir

                        Raymond Bell
                        WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                        1 Reply Last reply Reply Quote 0
                        • R
                          Raymond Bell Testers @Tom Elliott
                          last edited by Mar 28, 2016, 4:55 PM

                          @Tom-Elliott Client is updated on all computers
                          This was on a test computer i just had put a image on and the image has the old 9.11
                          Did not give it time to update

                          MY MISTAKE!!!

                          Raymond Bell
                          WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                          T 1 Reply Last reply Mar 28, 2016, 4:55 PM Reply Quote 0
                          • T
                            Tom Elliott @Raymond Bell
                            last edited by Mar 28, 2016, 4:55 PM

                            @Raymond-Bell So you’re good to go now?

                            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 3 Replies Last reply Mar 28, 2016, 5:00 PM Reply Quote 0
                            • R
                              Raymond Bell Testers @Tom Elliott
                              last edited by Mar 28, 2016, 5:00 PM

                              @Tom-Elliott said:

                              @Raymond-Bell So you’re good to go now?

                              Just re-imaged going to let it sit and update the client and see what happens. but i checked random computers i imaged from last week with same image and they are doing fine. So i am guessing i did not give it time to update after i imaged it. Going to check it and make sure after lunch. Will let you know…

                              Raymond Bell
                              WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                              1 Reply Last reply Reply Quote 0
                              • R
                                Raymond Bell Testers @Tom Elliott
                                last edited by Mar 28, 2016, 6:29 PM

                                @Tom-Elliott
                                It still has not up to 9.12
                                How long does it take? it has been about 1 1/2 hour
                                Is there a way to force this update to a client

                                ------------------------------------------------------------------------------
                                --------------------------------Authentication--------------------------------
                                ------------------------------------------------------------------------------
                                 3/28/2016 10:23 PM Client-Info Version: 0.9.11
                                 3/28/2016 10:23 PM Middleware::Communication URL: http://10.24.28.18/fog/management/other/ssl/srvpublic.crt
                                 3/28/2016 10:23 PM Data::RSA FOG Server CA cert found
                                 3/28/2016 10:23 PM Middleware::Authentication Cert OK
                                 3/28/2016 10:23 PM Middleware::Communication POST URL: http://10.24.28.18/fog/management/index.php?sub=authorize
                                 3/28/2016 10:23 PM Middleware::Communication Unknown Response: Private key not found
                                 3/28/2016 10:23 PM Service Sleeping for 120 seconds
                                
                                ------------------------------------------------------------------------------
                                --------------------------------Authentication--------------------------------
                                ------------------------------------------------------------------------------
                                 3/28/2016 10:25 PM Client-Info Version: 0.9.11
                                 3/28/2016 10:25 PM Middleware::Communication URL: http://10.24.28.18/fog/management/other/ssl/srvpublic.crt
                                 3/28/2016 10:25 PM Data::RSA FOG Server CA cert found
                                 3/28/2016 10:25 PM Middleware::Authentication Cert OK
                                 3/28/2016 10:25 PM Middleware::Communication POST URL: http://10.24.28.18/fog/management/index.php?sub=authorize
                                 3/28/2016 10:26 PM Middleware::Communication Unknown Response: Private key not found
                                 3/28/2016 10:26 PM Service Sleeping for 120 seconds```

                                Raymond Bell
                                WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                                1 Reply Last reply Reply Quote 0
                                • J
                                  Joe Schmitt Senior Developer
                                  last edited by Mar 28, 2016, 7:02 PM

                                  @Raymond-Bell said:

                                  How long does it take

                                  The client will only update if it can authenticate. You have to get the private key not found error fixed before the client will function. If this error was not present, the client would auto update within a minute.

                                  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.

                                  R 1 Reply Last reply Mar 28, 2016, 7:34 PM Reply Quote 0
                                  • R
                                    Raymond Bell Testers @Joe Schmitt
                                    last edited by Mar 28, 2016, 7:34 PM

                                    @Jbob
                                    Thats what i was thinking so it has to be something with the new trunk

                                    Raymond Bell
                                    WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      Joe Schmitt Senior Developer
                                      last edited by Mar 28, 2016, 11:28 PM

                                      @Raymond-Bell for the record I too had this issue but upgrading to the latest revision in trunk fixed 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.

                                      R 1 Reply Last reply Mar 29, 2016, 12:28 PM Reply Quote 0
                                      • R
                                        Raymond Bell Testers @Joe Schmitt
                                        last edited by Mar 29, 2016, 12:28 PM

                                        @Jbob Updating now to r5136 and will see what happens

                                        Raymond Bell
                                        WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          Raymond Bell Testers @Tom Elliott
                                          last edited by Wayne Workman Mar 29, 2016, 7:26 AM Mar 29, 2016, 12:56 PM

                                          @Tom-Elliott @Jbob Update trunk to r5136 and still getting same error

                                          ------------------------------------------------------------------------------
                                          --------------------------------Authentication--------------------------------
                                          ------------------------------------------------------------------------------
                                           3/29/2016 7:45 AM Client-Info Version: 0.9.11
                                           3/29/2016 7:45 AM Middleware::Communication URL: http://10.24.28.18/fog/management/other/ssl/srvpublic.crt
                                           3/29/2016 7:45 AM Data::RSA FOG Server CA cert found
                                           3/29/2016 7:45 AM Middleware::Authentication Cert OK
                                           3/29/2016 7:45 AM Middleware::Communication POST URL: http://10.24.28.18/fog/management/index.php?sub=authorize
                                           3/29/2016 7:47 AM Bus Became bus server
                                           3/29/2016 7:47 AM Bus {
                                            "channel": "Status",
                                            "data": "{\r\n  \"action\": \"load\"\r\n}"
                                          }
                                           3/29/2016 7:47 AM Bus Emmiting message on channel: Status
                                          
                                          ------------------------------------------------------------------------------
                                          --------------------------------Authentication--------------------------------
                                          ------------------------------------------------------------------------------
                                           3/29/2016 7:47 AM Client-Info Version: 0.9.11
                                           3/29/2016 7:47 AM Middleware::Communication URL: http://10.24.28.18/fog/management/other/ssl/srvpublic.crt
                                           3/29/2016 7:47 AM Data::RSA FOG Server CA cert found
                                           3/29/2016 7:47 AM Middleware::Authentication Cert OK
                                           3/29/2016 7:47 AM Middleware::Communication POST URL: http://10.24.28.18/fog/management/index.php?sub=authorize
                                           3/29/2016 7:48 AM Middleware::Communication Unknown Response: Private key not found
                                           3/29/2016 7:48 AM Service Sleeping for 120 seconds
                                          

                                          And the key is there

                                          fog@fog-virtual-machine14:/opt/fog/snapins/ssl$ ls
                                          CA  fog.csr
                                          fog@fog-virtual-machine14:/opt/fog/snapins/ssl$ ls .?*
                                          .srvprivate.key
                                          
                                          ..:
                                          ssl
                                          fog@fog-virtual-machine14:/opt/fog/snapins/ssl$
                                          

                                          Raymond Bell
                                          WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                                          W 1 Reply Last reply Mar 29, 2016, 1:27 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 1 / 3
                                          1 / 3
                                          • First post
                                            11/57
                                            Last post

                                          148

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project