LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
LinkBack Search this Thread
Old 05-08-2008, 01:40 PM   #1
nxfs
LQ Newbie
 
Registered: Apr 2008
Posts: 4

Rep: Reputation: 0
Talking SSL setup on 8.04 desktop version , error message


Hello everybody, thanks for your help.

I have a problem setting up SSL, I've followed the instruction here

Creating the Certificate Authority
help.ubuntu.com/community/forum/server/apache2/SSL?highlight=%28ssl%29

but came across this problem, an error message:

MYSERVER1:invalid type in 'policy' configuration

where "MYSERVER" is the name of my server.



=========this is my config, i'm not too sure about the "DNS" part because i don't have a domain name, could that be the problem?

# My sample caconfig.cnf file.
#
# Default configuration to use when one is not provided on the command line.
#
[ ca ]
default_ca = local_ca
#
#
# Default location of directories and files needed to generate certificates.
#
[ local_ca ]
dir = /home/jondole/myCA
certificate = $dir/cacert.pem
database = $dir/index.txt
new_certs_dir = $dir/signedcerts
private_key = $dir/private/cakey.pem
serial = $dir/serial
#
#
# Default expiration and encryption policies for certificates.
#
default_crl_days = 365
default_days = 1825
default_md = md5
#
policy = local_ca_policy
x509_extensions = local_ca_extensions
#
#
# Default policy to use when generating server certificates. The following
# fields must be defined in the server certificate.
#
[ local_ca_policy ]
commonName = MYSERVER
stateOrProvinceName = CA
countryName = US
emailAddress = jondole@gmail.com
organizationName = MYSERVER
organizationalUnitName = MYSERVER
#
#
# x509 extensions to use when generating server certificates.
#
[ local_ca_extensions ]
subjectAltName = DNS:alt.tradeshowhell.com
basicConstraints = CA:false
nsCertType = server
#
#
# The default root certificate generation policy.
#
[ req ]
default_bits = 2048
default_keyfile = /home/<username>/myCA/private/cakey.pem
default_md = md5
#
prompt = no
distinguished_name = root_ca_distinguished_name
x509_extensions = root_ca_extensions
#
#
# Root Certificate Authority distinguished name. Change these fields to match
# your local environment!
#
[ root_ca_distinguished_name ]
commonName = MYSERVER
stateOrProvinceName = CA
countryName = US
emailAddress = jondole@gmail.com
organizationName = MYSERVER
organizationalUnitName = MYSERVER
#
[ root_ca_extensions ]
basicConstraints = CA:true
 
  


Reply

Tags
security, ssl, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error message on desktop ray h Linux - Newbie 0 10-22-2007 05:44 PM
error message : Driver for device eth1 has been compiled with version 20 of Wireless kokomo Linux - Wireless Networking 9 08-18-2006 11:44 PM
Error message while copying from flash disk to FC4 Desktop zillah Fedora 16 04-18-2006 10:04 AM
Error Message during 802.11b setup for Intersil Card ( prism2_usb ) setup in SoC archak Linux - Wireless Networking 0 10-13-2004 03:21 AM
Error activating XKB message on Desktop on FC2 beachkid Fedora 2 06-18-2004 07:15 AM


All times are GMT -5. The time now is 04:42 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration