OpenSSL: Asymmetric en- and decryption of a file


Hi,

this post describes the en- and decryption of a file with a asymmetric encryption algorithm.

Asymmetric encryption means you encrypt data by a public key and can only decrypt this data with a private key associated with the public key.
More »

Advertisment to support michlstechblog.info

VMware Workstation: Generate a new selfsigned SSL/TLS certificate

Hi,

the VMware Workstation does not provide a program or script to generate a new pair of key and selfsigned certificate.

If’ve written a batch file which builds a new one. The scripts assumes that the Workstation is installed in the default folder C:\Program Files (x86)\VMware\VMware Workstation and uses the openssl command delivered with the program.

Adjust the Countryname, State, etc. to your own needs. Config is based on the VMware Docs.

More »

Windows: Renew a machine certificate

Hi,

in most Active Directory Enviroments the Certificate Enrollment is active which generates and enrolls a certificate for each client. This can be used for Radius authentication or as certificate for an IIS webserver.

Typically the client renews this certificate itself.
More »

DHCP: dhtest a tool to send customized packets to a DHCP Server

Hi,

dhtest is a tool to generate DHCP packets and send it to a DHCP server.
More »

Linux: Regenerate sshd host keys

Hi,

to generate sshd host keys, for example in case of cloning a virtual linux instance, do the following steps:

Checkout the key file names

root@debdevt:~# grep HostKey /etc/ssh/sshd_config
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key

More »

Original Theme by Schiy · Powered by WordPress