Apr 8, 2013

How To Convert Virtual Machines Between VirtualBox and VMware



image
Migrating to another virtual machine program can be intimidating. if you already have your virtual machines set up they way you like them, you don’t necessarily have to install them from scratch – you can migrate your existing virtual machines.
VirtualBox and VMware use different virtual machine formats, but each supports the standard Open Virtualization Format. Convert your existing virtual machine to OVF or OVA and you’ll be able to import it into another virtual machine program.
Unfortunately, this may not always work perfectly, as VirtualBox and VMware both seem to use slightly different OVA/OVF implementations that aren’t entirely compatible. If this doesn’t work, you may want to reinstall your virtual machine’s guest operating system from scratch.

Mar 29, 2013

Adding FTP Users For VSFTP

  1. You will need to log into your Linux server using SSH / Shell. If you are on a Windows workstation you will need to download Putty or if you are using a MacOSX based workstation you can use the built in Telnet application. If you have not used an SSH interface before you can review our support article on how to access your server using SSH by going to http://www.hosting.com/support/vps/linux/ssh.

Cài đặt FTP client CentOS

FTP (File transfer protocol) là một trong những dịch vụ quan trọng trên internet, giúp cho việc truyền tập tin đến máy chủ dễ dàng hơn. Trong bài viết này chúng tôi sẽ hướng dẫn bạn cài đặt dịch vụ FTP trên CentOS.

Mar 22, 2013

OpenSSL Command-Line HOWTO

Paul Heinlein 
Initial publication: June 13, 2004
Most recent revision: January 3, 2013
The openssl application that ships with the OpenSSL libraries can perform a wide range of crypto operations. This HOWTO provides some cookbook-style recipes for using it.

PHP OCSP script

I have here an OCSP script in PHP. It is not needed if you use the 
apache modified distribution from FedICT:ocsp is included in apache. But
 if you use a standard distribution that is automatically updated 
against new security treats (like me!), you need this. (Probably OCSP 
will be included in apache 2.4?): 

Check and open ports in CentOS / Fedora / Redhat



If you want to open or close a port for a Linux firewall you have to edit the rules in the iptables configuration. By default iptables firewall stores its configuration at /etc/sysconfig/iptables file. You need to edit this file and add rules to open port.
Here are the steps to open the port XY using the default visual editor vi:
Open port XY
Open flle /etc/sysconfig/iptables:
# vi /etc/sysconfig/iptables
Append rule as follows:
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport XY -j ACCEPT

Save and close the file. Restart iptables:
# /etc/init.d/iptables restart
Verify that port is open
Run following command:
# netstat -tulpn | less
Make sure iptables is allowing port connections:
# iptables -L -n

For more information visit:

Managing X.509 certificates using PHP



To generate, sign and verify certificates you need to have OpenSSL module installed and provide file with OpenSSL configuration.

Một sô lệnh hay OpenSSL

OpenSSL is a very powerful cryptography utility, perhaps a little too powerful for the average user. With all the different command line options, it can be a daunting task figuring out how to do exactly what you want to do. Here are several common tasks you may find useful. Note that some commands may require version 0.9.8a and above.

Feb 4, 2013

Cài đặt OpenCA theo kiến trúc phân tầng

Trong bài hướng dẫn Cài đặt openca kiến trúc SingleCA trên Centos 5.x  tôi đã hướng dẫn các bạn cài đặt  openCA với kiến trúc "All in one". Thực tế triển khai thì người ta sẽ không dùng đến kiến trúc này vì những lý do mà trong bài viết Chương 3. Kiến trúc PKI tôi đã nói đến. Hôm nay tôi sẽ cài đặt hệ thống thực theo kiến trúc phân cấp hay phân tầng.

Feb 2, 2013

Chữ ký số

1. Định nghĩa


Chữ ký số là một tập con của chữ ký điện tử. Có thể dùng định nghĩa về chữ ký điện tử cho chữ ký số như sau: Chữ ký điện tử là thông tin đi kèm theo dữ liệu (văn bản, hình ảnh, video, ) nhằm mục đích xác định người chủ của dữ liệu đó và đảm bảo tính toàn vẹn của dữ liệu.