byt3bl33d3r / CrackMapExec

A swiss army knife for pentesting networks
BSD 2-Clause "Simplified" License
8.45k stars 1.64k forks source link

OpenSSL Segmentation Fault when generating certificate #122

Closed lagosnomad closed 8 years ago

lagosnomad commented 8 years ago

Segmentation fault on first time CME exec O.S: Kali 2.*

screenshot from 2016-08-02 11-37-52

byt3bl33d3r commented 8 years ago

omg dat font.

Hmm it seems openssl is segfaulting when generating the certificate.

Try running:

openssl req -new -x509 -keyout ~/.cme/cme.pem -out ~/.cme/cme.pem -days 365 -nodes -subj "/C=US"
byt3bl33d3r commented 8 years ago

If that doesn't work, the openssl command line utility is broken and you'll need to reinstall it

byt3bl33d3r commented 8 years ago

@McZlatan-Bourne any update on this?

lagosnomad commented 8 years ago

Sorry for the late response, i was hospitalized later on the day i asked the question.

I'm home now.

I ran the command and generated the certificate successfully.

CME works now. THANKS!!!

screenshot from 2016-08-10 07-14-23 screenshot from 2016-08-10 07-12-31

lagosnomad commented 8 years ago

...and before i forget,

A gift from me to you friend.

Hangyaboly

http://www.dafont.com/hangyaboly.font

byt3bl33d3r commented 8 years ago

Lol thanks

I'm going to leave this open to remember to try and reproduce the segfault.

byt3bl33d3r commented 8 years ago

Closing since I can't seem to reproduce this in anyway.

SSHad0w commented 3 years ago

I am experiencing the issue even after generating the new key.

mpgn commented 3 years ago

If you are in kali: apt install crackmapexec

samrays commented 3 years ago

omg dat font.

Hmm it seems openssl is segfaulting when generating the certificate.

Try running:

openssl req -new -x509 -keyout ~/.cme/cme.pem -out ~/.cme/cme.pem -days 365 -nodes -subj "/C=US"

thanks, it fixed it.