Issue Restarting on Windows Due to RangeError
Unable to restart Windows due to
Your SSL certificate has an expiration date set after January 1, 2038. Windows 64-bit systems still use 32-bit timestamps, which prevent them from handling SSL certificates with expiration dates after 2038.
To verify that the timestamp issue is the cause of your problem, open
prosvc.log and find the following error:
1RangeError2bignum too big to convert into `long'
- Go to your Metasploit install directory and find the following file: path\to\metasploit\apps\pro\vendor\bundle\ruby<ruby version>\metasploit-framework-
- Open the file with an editor.
- Change the following line
cert.not_after = cert.not_before + 3600*24*365*20 # 20 yearsto
cert.not_after = cert.not_before + 63072000 # 2 years.
- Save your changes.
You should be able to restart Metasploit Pro after making these changes. After you're able to successfully start Metasploit Pro, we recommend that you apply the next update that is available.