Julio 25

Change password on pfx certificate using openssl

Export you current certificate to a passwordless pem type:

openssl pkcs12 -in mycert.pfx -out tmpmycert.pem -nodes

Convert the passwordless pem to a new pfx file with password:

pkcs12 -export -out mycert2.pfx -in tmpmycert.pem

 

 

 

Category: TIPS AND TRICKS | Los comentarios están deshabilitados en Change password on pfx certificate using openssl
Julio 3

Configure NFS Server to share any directories in local network.

root@nas01:~# aptitude -y install nfs-kernel-server
root@nas01:~# vi /etc/idmapd.conf

# line 6: uncomment and change to your domain name
Domain = server.world
root@nas01:~# vi /etc/exports

# write like below *note

/home 10.0.0.0/24(rw,sync,fsid=0,no_root_squash,no_subtree_check)
# *note
/home ⇒ shared directory
10.0.0.0/24 ⇒ range of networks NFS permits accesses
rw ⇒ possible to read and write
sync ⇒ synchronize
no_root_squash ⇒ enable root privilege
no_subtree_check ⇒ disable subtree check

root@nas01:~# /etc/init.d/nfs-kernel-server restart
Stopping NFS kernel daemon: mountd nfsd.
Unexporting directories for NFS kernel daemon….
Exporting directories for NFS kernel daemon….
Starting NFS kernel daemon: nfsd mountd.

Configure NFS Client to be able to mount shared directory from NFS server.

root@client:~# aptitude -y install nfs-common

root@client:~# vi /etc/idmapd.conf

# line 6: uncomment and change to your domain name
Domain = server.world

root@client:~# /etc/init.d/nfs-common restart
Stopping NFS common utilities: idmapd statd.
Starting NFS common utilities: statd idmapd.

root@client:~# mount -t nfs nas01.server.world:/home /home

root@client:~# df -h

Filesystem Size Used Avail Use% Mounted on
rootfs 19G 745M 17G 5% /
udev 10M 0 10M 0% /dev
tmpfs 202M 196K 202M 1% /run
/dev/mapper/www-root 19G 745M 17G 5% /
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 403M 0 403M 0% /run/shm
/dev/vda1 228M 18M 199M 9% /boot
nas01.server.world:/home 19G 917M 17G 6% /home
# home directory on NFS is mounted

root@client:~# vi /etc/fstab
# add at the last: change home directory this server mounts to the one on NFS

nas01.server.world:/home /home nfs defaults 0 0

 

 

 

 

Category: NFS, STORAGE | Los comentarios están deshabilitados en Configure NFS Server to share any directories in local network.