Hello,
We would like to implement BitLocker in our company. We found the BitLocker Enable and Audit packages for this purpose.
After several attempts, we managed to get BitLocker Enable working on one workstation, but not on the next three, even though they have the same installation. For BitLocker Audit, we are unable to retrieve the keys in Active Directory or WAPT. We understand that a certificate list is required; could you provide more details?
Where can we find more in-depth documentation on encryption and saving BitLocker keys via WAPT?
Sincerely,
Paul
[RESOLVED] BitLocker IT infrastructure encryption
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Hello Paul,
I use the tis-audit-bitlocker package, to display the keys in the WAPT console you need to edit the package and add the names of the certificates of the users authorized to read the audit data.
I use the tis-audit-bitlocker package, to display the keys in the WAPT console you need to edit the package and add the names of the certificates of the users authorized to read the audit data.
WAPT Enterprise 2.5.5.15697
Server = Debian 11 Bullseye
Console = Windows Server 2019
--------------------------------------------------------------------------
Johan
Server = Debian 11 Bullseye
Console = Windows Server 2019
--------------------------------------------------------------------------
Johan
Hello Paul,
these are the certificates (linked to your WAPT administrators) that allow you to sign WAPT packages.
these are the certificates (linked to your WAPT administrators) that allow you to sign WAPT packages.
WAPT Enterprise 2.5.5.15697
Server = Debian 11 Bullseye
Console = Windows Server 2019
--------------------------------------------------------------------------
Johan
Server = Debian 11 Bullseye
Console = Windows Server 2019
--------------------------------------------------------------------------
Johan
- dcardon
- WAPT Expert
- Messages: 1929
- Registration: June 18, 2014 - 09:58
- Location: Saint Sébastien sur Loire
- Contact :
Hello
@PaulSLA, regarding the LAPS by WAPT part, it uses the certificates defined in the agent, so there's no need to add any. However, the BitLocker package was written to explicitly request certificates. It's true that we could also reuse the certificates already deployed.
Regards,
Denis
@PaulSLA, regarding the LAPS by WAPT part, it uses the certificates defined in the agent, so there's no need to add any. However, the BitLocker package was written to explicitly request certificates. It's true that we could also reuse the certificates already deployed.
Regards,
Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Good morning,
If I understand your explanations and the package code correctly, I simply need to enter the name of the certificate that can see the audit results:
If my certificate is wapt-crt.crt in C:\wapt\ssl, I must do the following:
And will the script automatically retrieve the certificate for it to function? If I have multiple certificates, should I use commas? Semicolons?
For the BitLocker enable part, I'm getting an error regarding BitLocker Key Protector. Do I need to force the installation of the package on all affected machines, which will remove the BitLocker Key Protector, and then perform a standard installation? Should that work?
Isn't there a way to do this automatically?
Sincerely,
If I understand your explanations and the package code correctly, I simply need to enter the name of the certificate that can see the audit results:
If my certificate is wapt-crt.crt in C:\wapt\ssl, I must do the following:
Code: Select all
target_encryption_method = 7
allow_swap_encryption_method = False # Not implemented yet
decrypt_cert_list = wapt-crt
def install():
# Adding certificates allowed to decrypt in WAPT
for cert in decrypt_cert_list:
cert_path = makepath(WAPT.wapt_base_dir, "ssl", cert)
if not isfile(cert_path):
print("Copying: %s" % cert_path)
filecopyto(cert, cert_path)
For the BitLocker enable part, I'm getting an error regarding BitLocker Key Protector. Do I need to force the installation of the package on all affected machines, which will remove the BitLocker Key Protector, and then perform a standard installation? Should that work?
Isn't there a way to do this automatically?
Sincerely,
Good morning,
After several attempts on my end, I now get an error during package installation:
Here are the logs:
I simply added the certificate name after "decrypt_cert_list" in the form decrypt_cert_list = certificate_name
Does anyone have any idea what the error might be, unless the package is no longer supported?
Thanks in advance,
Sincerely,
Paul
After several attempts on my end, I now get an error during package installation:
Here are the logs:
Code: Select all
"
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 4010, in install_wapt
setup = import_setup(setup_filename)
File "C:\Program Files (x86)\wapt\waptutils.py", line 1525, in import_setup
py_mod = imp.load_source(modulename, setupfilename)
File "imp.py", line 171, in load_source
File "<frozen importlib._bootstrap>", line 702, in _load
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 843, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "C:\WINDOWS\TEMP\wapt_3l1xqgx\setup.py", line 73, in <module>
NameError: name 'wapt' is not defined
NameError: name 'wapt' is not defined
"I simply added the certificate name after "decrypt_cert_list" in the form decrypt_cert_list = certificate_name
Does anyone have any idea what the error might be, unless the package is no longer supported?
Thanks in advance,
Sincerely,
Paul
- dcardon
- WAPT Expert
- Messages: 1929
- Registration: June 18, 2014 - 09:58
- Location: Saint Sébastien sur Loire
- Contact :
Hi Paul,
in Python, the hyphen "-" is interpreted as the subtraction operator. So `wapt-crt` is parsed as `wapt - crt` (the variable `wapt` minus the variable `crt`), hence the message that the variable `wapt` doesn't exist.
There must be some missing quotation marks somewhere,
Denis.
in Python, the hyphen "-" is interpreted as the subtraction operator. So `wapt-crt` is parsed as `wapt - crt` (the variable `wapt` minus the variable `crt`), hence the message that the variable `wapt` doesn't exist.
There must be some missing quotation marks somewhere,
Denis.
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Good morning,
Thank you, that was it, I found it yesterday. I added quotation marks around the certificate and everything is OK with the audit.
Now we have the BitLocker activation part left. We tried using the package from the store, but it's impossible to get it to work. It's always the same thing:
First installation:
So I installed it using the force option, and the result was:
That seems fine. So I reinstalled it a second time without the force option, and the result was:
And the problem keeps looping; we haven't touched that package. Creating our own package using a PowerShell script works, but each time we update the package, it re-encrypts all the PCs and creates a new recovery key. This quickly becomes a mess.
Any ideas? Unless I've missed a configuration step, like with the audit package?
Sincerely,
Paul
Thank you, that was it, I found it yesterday. I added quotation marks around the certificate and everything is OK with the audit.
Now we have the BitLocker activation part left. We tried using the package from the store, but it's impossible to get it to work. It's always the same thing:
First installation:
Code: Select all
OK: This computer BIOS boot in UEFI mode
OK: TPM chip found on this system
OK: TPM chip ready
Encrypting: C: drive with BitLocker encryption method: XtsAes256
Enable-Bitlocker -MountPoint C: -EncryptionMethod XtsAes256 -SkipHardwareTest -TpmProtector
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 4083, in install_wapt
exitstatus = setup.install()
File "C:\WINDOWS\TEMP\waptzpc2fp1z\setup.py", line 118, in install
File "C:\Program Files (x86)\wapt\waptutils.py", line 1892, in error
raise EWaptSetupException('Fatal error : %s' % reason)
waptutils.EWaptSetupException: Fatal error : ERROR: The above PowerShell command appears to be unsuccessful.
You can force install this package to remove BitlockerKeyProtector.
EWaptSetupException: Fatal error : ERROR: The above PowerShell command appears to be unsuccessful.
You can force install this package to remove BitlockerKeyProtector.Code: Select all
OK: This computer BIOS boot in UEFI mode
OK: TPM chip found on this system
OK: TPM chip ready
Encrypting: C: drive with BitLocker encryption method: XtsAes256
Enable-Bitlocker -MountPoint C: -EncryptionMethod XtsAes256 -SkipHardwareTest -TpmProtector
Remove-BitlockerKeyProtector -MountPoint C: -KeyProtectorId "{92D79314-13A0-475E-B8FC-4195EAEDF1E0}"
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 4083, in install_wapt
exitstatus = setup.install()
File "C:\WINDOWS\TEMP\wapt_03ore3e\setup.py", line 116, in install
File "C:\Program Files (x86)\wapt\waptutils.py", line 1892, in error
raise EWaptSetupException('Fatal error : %s' % reason)
waptutils.EWaptSetupException: Fatal error : BitlockerKeyProtector have been removed on C: please reinstall this package.
EWaptSetupException: Fatal error : BitlockerKeyProtector have been removed on C: please reinstall this package.Code: Select all
OK: This computer BIOS boot in UEFI mode
OK: TPM chip found on this system
OK: TPM chip ready
Encrypting: C: drive with BitLocker encryption method: XtsAes256
Enable-Bitlocker -MountPoint C: -EncryptionMethod XtsAes256 -SkipHardwareTest -TpmProtector
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 4083, in install_wapt
exitstatus = setup.install()
File "C:\WINDOWS\TEMP\waptraxa1eek\setup.py", line 118, in install
File "C:\Program Files (x86)\wapt\waptutils.py", line 1892, in error
raise EWaptSetupException('Fatal error : %s' % reason)
waptutils.EWaptSetupException: Fatal error : ERROR: The above PowerShell command appears to be unsuccessful.
You can force install this package to remove BitlockerKeyProtector.
EWaptSetupException: Fatal error : ERROR: The above PowerShell command appears to be unsuccessful.
You can force install this package to remove BitlockerKeyProtector.And the problem keeps looping; we haven't touched that package. Creating our own package using a PowerShell script works, but each time we update the package, it re-encrypts all the PCs and creates a new recovery key. This quickly becomes a mess.
Any ideas? Unless I've missed a configuration step, like with the audit package?
Sincerely,
Paul
Good morning,
Could you please type the indicated PowerShell command on an affected machine?
You should know more about the sticking point.
There's a good chance it's a GPO that's blocking it.
Sincerely,
Jimmy
Could you please type the indicated PowerShell command on an affected machine?
Code: Select all
Enable-Bitlocker -MountPoint C: -EncryptionMethod XtsAes256 -SkipHardwareTest -TpmProtectorThere's a good chance it's a GPO that's blocking it.
Sincerely,
Jimmy
