This document (RHEL6 and AD) is a good document to start with. It was released by RedHat itself, so you can trust this. I followed this document and had little problem. if you should get an error like "user does not exist" when typing "su <user>", simply delete all files in /var/lib/samba.
Windows
Create CA-/self-signed certificates with OpenSSL
Hey, here are a few steps to create your own CA-signed certificates with your own CA:
Create your CA:
Generate the key:
openssl genrsa -out CA.key 2048
openssl genrsa -out CA.key 2048 -des3 (with password protection)
Please note that if someone gets this key and it’s not password protected he can generate valid certificates in your name, which is really really bad, so keep it secret!
Generate your CA certificate:
openssl req -new -x509 -extensions v3_ca -key CA.key -days 10000 -out CA.crt
This creates a valid CA certificate wich is valid for 10000 days. Why so long? Because when this CA expires you have to revoke and regenerate all the certificates based on this one which could be timeconsuming, but feel free to set a lower number. In order to recognize your self-signed certificates this CA must be installed on your computer which calls the website or alike. which varies between operating systems and programs.
Generate the server certificate signing request (CSR):
openssl req -new -newkey rsa:2048 -key server.key -out server.csr -addext "subjectAltName=DNS:www.domain.com,DNS:alt.dom.com,IP=1.2.3.4"
Please note that you need to specify the normal domain too (domain.com) in this file and as CommonName when generating the CSR.
Sign your certificate with a CA:
openssl x509 -req -in server.csr -CA CA.crt -CAkey CA.key -out server.crt -days 365 -copy_extensions copy
Quick generate a self-signed certificate:
In case you want the to do quickly a certificate including multiple names and IP addresses, you can do it also in one line:
openssl req -new -newkey rsa:2048 -days 365 -nodes -keyout server.key -out server.crt -addext "subjectAltName=DNS:name1,DNS:name2.dom.tld,IP:192.168.182.14"
All you have to do now is copy the server.key and server.crt onto your machine and configure your application to use this certificates.
Here are some useful sites if found about SSL:
http://www.chainsawonatireswing.com
http://phaseshiftllc.com
http://blog.didierstevens.com
http://shib.kuleuven.be
Learning C and Obj-C
Hello people,
after all these years of php programming and some breakouts into perl and python, i'm getting pretty interested in "high performance computing" how it's called. So therefore i looked for some easy tutorials for C and Obj-C (used by apple, especially useful if you want to do things for iphone or ipad).
Here are some links if you plan to develop cocoa applications: