Skip to main content

Questions tagged [certutil]

Certutil.exe is a command-line program that is installed as part of Certificate Services. You can use Certutil.exe to dump and display certification authority (CA) configuration information, configure Certificate Services, backup and restore CA components, and verify certificates, key pairs, and certificate chains.

1 vote
1 answer
62 views

Trying to create a .crt and .key for apache using certutil/certreq end up with empty files

I have this cert_functions.ps1 file $ErrorActionPreference = "Stop" $PSDefaultParameterValues['*:ErrorAction']='Stop' function New-WorkstationCertificateRequestConfiguration { param( ...
Daviid's user avatar
  • 118
0 votes
0 answers
489 views

Windows certutil exports with empty password but openssl pkcs12 fails

Here are the commands I follow to create a certificate and accept it usin Windows Server's CA Server. certreq -new -f -q $answerFile.FullName $requestFile.FullName certreq -submit -f -q -config $...
Daviid's user avatar
  • 118
0 votes
1 answer
267 views

Using certutil certificate in apache, missing key

$ConfigContent = @" ; Request.inf [Version] Signature="`$Windows NT$" [NewRequest] Subject = "CN=$CN,C=ES,ST=Barcelona,L=Barcelona,O=$O" KeySpec = 1 KeyLength = 2048 ...
Daviid's user avatar
  • 118
0 votes
0 answers
557 views

Unable to decrypt EFS files after changing user credentials in Win 10

I had encrypted some files and folders in my local user account in Windows 10. I changed the username and password of that local user account and also the administrator account. After that, I was ...
samreese's user avatar
2 votes
2 answers
2k views

How to automatically compare current windows root certificate store against latest root certificates?

I do have a provider that complains the trusted root certificates on our several windows server systems (2008, 2012, 2016, 2019) are outdated. I was not able to prove the opposite. For sure "Turn ...
I grok it's user avatar
0 votes
1 answer
396 views

Generated SSL certificate doesn't work in Personal > Certificates, only if it's also in Trusted Root Certificate Authorities > Certificates

I'm trying to install an SSL certificate automatically with certutil, and I've done this successfully with the following command: certutil -addstore -user -f "My" "$CERT_FILE_CERT" ...
ProgrammingLlama's user avatar
0 votes
1 answer
4k views

How to install certutil on Centos?

I am trying to get libreswan VPN running on my centos system but I seem to be missing the certutil package /usr/local/sbin/ipsec: line 394: certutil: command not found However I have been looking ...
A.J's user avatar
  • 103
0 votes
4 answers
593 views

Are these strings the correct output to verify keys for file checksum?

I'm trying to verify the integrity of the files before installing a downloaded copy of Netbeans from the Apache.org site, per their suggestion. I'm not having luck verifying I am using the tools ...
BikerJ's user avatar
  • 3
0 votes
1 answer
719 views

Trying to revoke locally-generated certificate : No local CA error

For some automated tests on my project, I need to revoke a certificate which has been generated locally by makecert.exe. First, I generate a signer certificate and associated CRL using the following ...
bumbling-tadpole's user avatar
3 votes
1 answer
7k views

Using CertUtil MergePfx with password as a parameter

I'm trying to script generation of a single pfx certificate, from one key and one pem file. The following command in Powershell will generate a .pfx as expected: CertUtil -MergePFX $srcPemPath $...
Ian Ferguson's user avatar
2 votes
1 answer
785 views

Paginate results of certutil -view

I'm using the following command to get a list of issued certificates in a Windows Server machine with Active Directory Certificate Services (ADCS) installed. certutil -restrict 'Disposition=20' -out '...
James's user avatar
  • 661
1 vote
1 answer
1k views

How to use certutil.exe -MergePFX without a password?

I'm automating a process and have that constraint that I can only use Windows Server (2012 is the base, but I'm not sure if a 2008 will show up somewhere) native tools. I need to get a key pair (...
Tonon's user avatar
  • 11
3 votes
1 answer
12k views

Import certificate to Trusted Root Authorities for the Current User, with command line

I know how to import certificates to trusted root authorities with certutil certutil -addstore "Root" <cert_path> But for this I need administrator permissions. Though when I double ...
João Pimentel Ferreira's user avatar
3 votes
2 answers
3k views

Pipe output from DIR into CERTUTIL

In Win10, looking for way to pipe the output from a DIR command at the Command Prompt or in a Batch File to serve as input to the CERTUTIL command. IOW, I want to get the MD5 hash for all of the files ...
Dee Wolf's user avatar
0 votes
1 answer
2k views

Windows validate checksum

I am trying to validate the checksum for a Windows Citrix executable. The checksum that is provided is 64 char long. I have found instructions to validate a checksum by running this in PowerShell: ...
radumanolescu's user avatar

15 30 50 per page