HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Developers' Forum (http://www.howtoforge.com/forums/forumdisplay.php?f=18)
-   -   Automated installer for Dapper (http://www.howtoforge.com/forums/showthread.php?t=6028)

danf.1979 5th August 2006 16:57

Automated installer for Dapper
 
Hi folks.
I've done an automated installer that follows more less the Perfect Ubuntu Dapper setup for ISPC. Till now it does configure all needed packages and settings before ISPC installation (ISPC is not installed). Anyway I have been able to test this only in my qemu machine, so additional testing would be nice.
=> Quota does get installed, but not configured, I'm kind of doubtful about automatically editing fstab.
=> I also have a problem with the site certificates.
=> I plan to include ISPC installing as an automated process, but I need to study some more about threads in python.
The TLS probem in the log says:
Code:

Aug  5 08:14:59 www postfix/smtpd[9800]: initializing the server-side TLS engine
Aug  5 08:14:59 www postfix/tlsmgr[9802]: open server TLS cache sdbm:/etc/postfix/smtpd_scache
Aug  5 08:14:59 www postfix/tlsmgr[9802]: tlsmgr_srvr_cache_run_event: start TLS server session cache cleanup
Aug  5 08:14:59 www postfix/smtpd[9800]: warning: cannot get private key from file /etc/postfix/ssl/newreq.pem
Aug  5 08:14:59 www postfix/smtpd[9800]: warning: TLS library problem: 9800:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:644:Expecting: ANY PRIVATE KEY:
Aug  5 08:14:59 www postfix/smtpd[9800]: warning: TLS library problem: 9800:error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib:ssl_rsa.c:669:
Aug  5 08:14:59 www postfix/smtpd[9800]: cannot load RSA certificate and key data

Here is my /etc/postfix/ssl dir:
Code:

daniel@www:~$ ls /etc/postfix/ssl -l
total 16
-rwxr-xr-x 1 root root 3758 2006-08-02 03:22 CA.sh
drwxr-xr-x 6 root root  400 2006-08-02 03:22 demoCA
-rw-r--r-- 1 root root 3342 2006-08-02 03:22 newcert.pem
-rw-r--r-- 1 root root  963 2006-08-02 03:22 newkey.pem
-rw-r--r-- 1 root root  733 2006-08-02 03:22 newreq.pem

Is the file size in newreq.pem ok?
newreq.pem contains the following and nothing more that the code in the BEGIN/END tags:
Code:

-----BEGIN CERTIFICATE REQUEST-----
->SOME ENCRYPTED CODE IN HERE<-
-----END CERTIFICATE REQUEST-----

You can find the program in here: http://www.mundowebhosting.com/forums/topic.php?id=2
and a little explanation of the capabilities. Python based...

danf.1979 6th August 2006 12:34

Ok I fixed the TLS problem, but I haven't released the fixed version yet.


All times are GMT +2. The time now is 01:12.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.