• 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
19.2k
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.
  • 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
        • W
          Wayne Workman @Raymond Bell
          last edited by Mar 29, 2016, 1:27 PM

          @Raymond-Bell These are the files you should have. Check the permissions too.

          0_1459258033083_upload-0ccdeb4c-f0a9-4253-ba25-e42c57ffd68a

          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 Mar 29, 2016, 1:31 PM Reply Quote 0
          • R
            Raymond Bell Testers @Wayne Workman
            last edited by Mar 29, 2016, 1:31 PM

            @Wayne-Workman

            0_1459258303346_fog cert.png

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

            W 2 Replies Last reply Mar 29, 2016, 1:33 PM Reply Quote 0
            • W
              Wayne Workman @Raymond Bell
              last edited by Wayne Workman Mar 29, 2016, 7:33 AM Mar 29, 2016, 1:33 PM

              @Raymond-Bell Have you tried resetting the encryption on this particular host? It’s done in the web UI under the host’s general area.

              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 Mar 29, 2016, 1:37 PM Reply Quote 0
              • R
                Raymond Bell Testers @Wayne Workman
                last edited by Mar 29, 2016, 1:37 PM

                @Wayne-Workman
                Yes, But i had to add it to a group by its self first to get the Reset Option

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

                W 1 Reply Last reply Mar 29, 2016, 1:43 PM Reply Quote 0
                • W
                  Wayne Workman @Raymond Bell
                  last edited by Wayne Workman Mar 29, 2016, 7:44 AM Mar 29, 2016, 1:43 PM

                  @Raymond-Bell There is a manual method for resetting the encryption on all hosts here: https://wiki.fogproject.org/wiki/index.php?title=FOG_Client

                  This method would also work on an individual host but you’d need to modify the SQL appropriately with a WHERE clause.

                  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 Mar 29, 2016, 1:45 PM Reply Quote 0
                  • R
                    Raymond Bell Testers @Wayne Workman
                    last edited by Mar 29, 2016, 1:45 PM

                    @Wayne-Workman So you are saying stop apache2 and try running this and see what happens?

                    Manually reset encryption on ALL hosts

                    This applies to FOG 1.3.0 where the New Client is in use and for some reason you need to manually reset the encryption for all hosts.

                    mysql
                    use fog
                    UPDATE hosts SET hostPubKey=“”, hostSecToken=“”, hostSecTime=“0000-00-00 00:00:00”;

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

                    W 1 Reply Last reply Mar 29, 2016, 1:45 PM Reply Quote 0
                    • W
                      Wayne Workman @Raymond Bell
                      last edited by Wayne Workman Mar 29, 2016, 7:46 AM Mar 29, 2016, 1:45 PM

                      @Raymond-Bell You don’t have to stop apache for this, and this is just to make sure the encryption on this particular host is reset.

                      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 2 Replies Last reply Mar 29, 2016, 1:46 PM Reply Quote 0
                      • R
                        Raymond Bell Testers @Wayne Workman
                        last edited by Wayne Workman Mar 29, 2016, 7:50 AM Mar 29, 2016, 1:46 PM

                        @Wayne-Workman Ok so just run the

                        mysql
                        use fog
                        UPDATE hosts SET hostPubKey="", hostSecToken="", hostSecTime="0000-00-00 00:00:00";
                        

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

                        W 1 Reply Last reply Mar 29, 2016, 1:51 PM Reply Quote 0
                        • R
                          Raymond Bell Testers @Wayne Workman
                          last edited by Mar 29, 2016, 1:50 PM

                          @Wayne-Workman How do i find just this host hostPubKey so i don’t do this on all

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

                          1 Reply Last reply Reply Quote 0
                          • W
                            Wayne Workman @Raymond Bell
                            last edited by Mar 29, 2016, 1:51 PM

                            @Raymond-Bell use a WHERE clause for the hostname. WHERE hostName = ‘someHostName’

                            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 Mar 29, 2016, 2:15 PM Reply Quote 0
                            • R
                              Raymond Bell Testers @Wayne Workman
                              last edited by Mar 29, 2016, 2:15 PM

                              @Wayne-Workman Like this ?

                               UPDATE WHERE hostName = "LAB-IMAGE-WIN10" SET hostPubKey="", hostSecToken="", hostSecTime="0000-00-00 00:00:00";

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

                              W 1 Reply Last reply Mar 29, 2016, 2:17 PM Reply Quote 0
                              • W
                                Wayne Workman @Raymond Bell
                                last edited by Mar 29, 2016, 2:17 PM

                                @Raymond-Bell Well I normally put the WHERE clause at the very end… but that will either work or give an error. Try 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!
                                Daily Clean Installation Results:
                                https://fogtesting.fogproject.us/
                                FOG Reporting:
                                https://fog-external-reporting-results.fogproject.us/

                                R 1 Reply Last reply Mar 29, 2016, 2:20 PM Reply Quote 0
                                • R
                                  Raymond Bell Testers @Wayne Workman
                                  last edited by Mar 29, 2016, 2:20 PM

                                  @Wayne-Workman Done

                                  mysql> UPDATE hosts SET hostPubKey="", hostSecToken="", hostSecTime="0000-00-00 00:00:00"; WHERE hostName = "LAB-IMAGE-WIN10"
                                  Query OK, 4 rows affected (0.04 sec)
                                  Rows matched: 804  Changed: 4  Warnings: 0
                                  
                                  

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

                                  W 1 Reply Last reply Mar 29, 2016, 2:25 PM Reply Quote 0
                                  • W
                                    Wayne Workman @Raymond Bell
                                    last edited by Wayne Workman Mar 29, 2016, 8:25 AM Mar 29, 2016, 2:25 PM

                                    @Raymond-Bell said:

                                    Query OK, 4 rows affected (0.04 sec)
                                    

                                    4 rows affected?

                                    Can you run this command and see what the return is?

                                    SELECT hostID,hostName FROM hosts WHERE hostName = 'LAB-IMAGE-WIN10';

                                    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 Mar 29, 2016, 2:25 PM Reply Quote 0
                                    • R
                                      Raymond Bell Testers @Wayne Workman
                                      last edited by Mar 29, 2016, 2:25 PM

                                      @Wayne-Workman

                                      mysql> SELECT hostName,hostID from hosts where hostName = 'LAB-IMAGE-WIN10';
                                      +-----------------+--------+
                                      | hostName        | hostID |
                                      +-----------------+--------+
                                      | LAB-IMAGE-WIN10 |   1701 |
                                      +-----------------+--------+
                                      1 row in set (0.08 sec)
                                      
                                      mysql>
                                      

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

                                      W 1 Reply Last reply Mar 29, 2016, 2:31 PM Reply Quote 0
                                      • W
                                        Wayne Workman @Raymond Bell
                                        last edited by Mar 29, 2016, 2:31 PM

                                        @Raymond-Bell Well what does the host’s fog log say 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/

                                        R 1 Reply Last reply Mar 29, 2016, 2:31 PM Reply Quote 0
                                        • R
                                          Raymond Bell Testers @Wayne Workman
                                          last edited by Mar 29, 2016, 2:31 PM

                                          @Wayne-Workman

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

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

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

                                          198

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project