Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Coopdevs OCB mirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coopdevs
Odoo
Coopdevs OCB mirror
Commits
4b847123
Commit
4b847123
authored
16 years ago
by
Panos Christeas
Browse files
Options
Downloads
Patches
Plain Diff
Fix SSL server, conf samples
bzr revid: p_christ@hol.gr-20081117092339-652ppsxbhzc3nzik
parent
ee881fa7
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
bin/ssl/SecureXMLRPCServer.py
+2
-0
2 additions, 0 deletions
bin/ssl/SecureXMLRPCServer.py
bin/ssl/cert.cfg
+89
-0
89 additions, 0 deletions
bin/ssl/cert.cfg
doc/openerp-server.conf
+4
-0
4 additions, 0 deletions
doc/openerp-server.conf
with
95 additions
and
0 deletions
bin/ssl/SecureXMLRPCServer.py
+
2
−
0
View file @
4b847123
...
...
@@ -129,6 +129,8 @@ class SecureXMLRPCRequestHandler(SimpleXMLRPCServer.SimpleXMLRPCRequestHandler):
class
SecureXMLRPCServer
(
SimpleXMLRPCServer
.
SimpleXMLRPCServer
,
SecureTCPServer
):
encoding
=
None
allow_none
=
False
def
__init__
(
self
,
addr
,
requestHandler
=
SecureXMLRPCRequestHandler
,
logRequests
=
1
):
...
...
This diff is collapsed.
Click to expand it.
bin/ssl/cert.cfg
0 → 100644
+
89
−
0
View file @
4b847123
# X.509 Certificate options
#
# DN options
# The organization of the subject.
organization
=
"Acme inc."
# The organizational unit of the subject.
unit
=
"dept."
# The locality of the subject.
# locality =
# The state of the certificate owner.
state
=
"Attiki"
# The country of the subject. Two letter code.
country
=
GR
# The common name of the certificate owner.
cn
=
"Some company"
# A user id of the certificate owner.
#uid = "clauper"
# If the supported DN OIDs are not adequate you can set
# any OID here.
# For example set the X.520 Title and the X.520 Pseudonym
# by using OID and string pairs.
#dn_oid = "2.5.4.12" "Dr." "2.5.4.65" "jackal"
# This is deprecated and should not be used in new
# certificates.
# pkcs9_email = "none@none.org"
# The serial number of the certificate
serial
=
001
# In how many days, counting from today, this certificate will expire.
expiration_days
=
700
# X.509 v3 extensions
# A dnsname in case of a WWW server.
#dns_name = "www.none.org"
#dns_name = "www.morethanone.org"
# An IP address in case of a server.
#ip_address = "192.168.1.1"
# An email in case of a person
email
=
"none@none.org"
# An URL that has CRLs (certificate revocation lists)
# available. Needed in CA certificates.
#crl_dist_points = "http://www.getcrl.crl/getcrl/"
# Whether this is a CA certificate or not
#ca
# Whether this certificate will be used for a TLS client
#tls_www_client
# Whether this certificate will be used for a TLS server
tls_www_server
# Whether this certificate will be used to sign data (needed
# in TLS DHE ciphersuites).
#signing_key
# Whether this certificate will be used to encrypt data (needed
# in TLS RSA ciphersuites). Note that it is prefered to use different
# keys for encryption and signing.
encryption_key
# Whether this key will be used to sign other certificates.
#cert_signing_key
# Whether this key will be used to sign CRLs.
#crl_signing_key
# Whether this key will be used to sign code.
#code_signing_key
# Whether this key will be used to sign OCSP data.
#ocsp_signing_key
# Whether this key will be used for time stamping.
#time_stamping_key
This diff is collapsed.
Click to expand it.
doc/openerp-server.conf
+
4
−
0
View file @
4b847123
...
...
@@ -5,6 +5,10 @@ verbose = False
xmlrpc
=
True
db_user
=
False
db_password
=
False
;
Uncomment
these
for
xml
-
rpc
over
SSL
;
secure
=
True
;
sslcert
= /
etc
/
openerp
/
server
.
cert
;
sslkey
= /
etc
/
openerp
/
server
.
key
root_path
=
None
soap
=
False
translate_modules
= [
'all'
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment