Modify

Ticket #305 (closed defect: fixed)

Opened 6 years ago

Last modified 7 months ago

Make extension CA module in order to comunicate with OpenVPN

Reported by: ejhernandez@… Owned by: ejhernandez@…
Milestone: nice to have someday Component: ca
Severity: normal Keywords:
Cc: javier.amor.garcia@…

Description (last modified by ejhernandez@…) (diff)

There are some things that are needed to be shown by CA module to make OpenVPN module easier to use.

This ticket is intended to do this task.

  1. Make certificate path available in listCertificates function
  2. Method getKeys should not remove the private key
  3. Make a method to retrieve the Certification Authority metadata directly
  4. Make a method to get a list of all certificates minus the Certification Authority one
  5. isCreated must optionally raise an exception
  6. a 'getCertificate' method that when supplied with a CN, returns the certificate stuff or undef if the certificate does not exists
  7. an strange error to OpenVPN appears (See comment below for more information) -> resolved in #334

Attachments

Change History

comment:1 Changed 6 years ago by ejhernandez@…

  • Status changed from new to assigned

comment:2 Changed 6 years ago by javier.amor.garcia@…

  • Description modified (diff)

isCreated must optionall raise a exception because almost any module that uses ca must first check if the certification authority is setted up. If we optionally raise a exception we will ease this checking and give a more homogenous error messages. Look into EBox::Validate to see examples of this behaviour.

comment:3 Changed 6 years ago by ejhernandez@…

  • Description modified (diff)

Typos in description

comment:4 Changed 6 years ago by javier.amor.garcia@…

  • Description modified (diff)

a method to retireve keys already exists

comment:5 Changed 6 years ago by javier.amor.garcia@…

  • Description modified (diff)

the 'getCertifcate' method is for avoiding endless list searchs to clients

comment:6 Changed 6 years ago by ejhernandez@…

  • Description modified (diff)

First -> Done Second -> getKeys does NOT remove private key, removePrivateKey method does that

comment:7 Changed 6 years ago by ejhernandez@…

  • Description modified (diff)

Third done

comment:8 Changed 6 years ago by ejhernandez@…

  • Description modified (diff)

Fourth done.

Fifth done.

Sixth won't fix since listCertificates has this functionality.

comment:9 Changed 6 years ago by ejhernandez@…

  • hours changed from 0.0 to 3.0
  • totalhours changed from 0.0 to 3.0

I don't close this ticket till OpenVPN developer has finished the implementation

comment:10 Changed 6 years ago by ejhernandez@…

(In [6030]) Updating translation lines refs #305

comment:11 Changed 6 years ago by ejhernandez@…

(In [6031]) Updating listCertificates to return cert path, isCreated to raise an exception when a name is given; creating getCACertificate and getCertificates and, finally, updating test file to check CA correctness refs #305

comment:12 Changed 6 years ago by ejhernandez@…

(In [6036]) Remove redundancy in attribute method, removing obsolete dn refs #305

comment:13 Changed 6 years ago by ejhernandez@…

(In [6037]) s/dnAttribute/attribute, updating CA API giving a listCertificates to return an array of certs (filtered) and getCertificate to return an unique element. All other stuff is needless. It seems to work but more tests should be applied refs #305"

comment:14 Changed 6 years ago by ejhernandez@…

(In [6038]) Email changelog fixed refs #305

comment:15 Changed 6 years ago by ejhernandez@…

  • hours changed from 0.0 to 2.0
  • totalhours changed from 3.0 to 5.0

comment:16 Changed 6 years ago by javier.amor.garcia@…

  • Cc javier.amor.garcia@… added

comment:17 Changed 6 years ago by hblanco@…

  • priority changed from normal to high

comment:18 Changed 6 years ago by ejhernandez@…

  • Description modified (diff)
Thu Dec 14 18:40:03 2006 TLS: Initial packet from 192.168.45.117:10000,
sid=b9a77150 85de755c
Thu Dec 14 18:40:03 2006 VERIFY ERROR: depth=1, error=self signed
certificate in certificate
chain: /C=ES/ST=Nation/L=Nowhere/O=monos/CN=Certification_Authority_Certificate
Thu Dec 14 18:40:03 2006 TLS_ERROR: BIO read tls_read_plaintext error:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
verify failed
Thu Dec 14 18:40:03 2006 TLS Error: TLS object -> incoming plaintext
read error
Thu Dec 14 18:40:03 2006 TLS Error: TLS handshake failed
Thu Dec 14 18:40:03 2006 Fatal TLS error (check_tls_errors_co),
restarting

comment:19 Changed 6 years ago by ejhernandez@…

  • Description modified (diff)

comment:20 Changed 6 years ago by ejhernandez@…

  • Description modified (diff)

done in #334

comment:21 Changed 6 years ago by ejhernandez@…

  • Status changed from assigned to new

comment:22 Changed 6 years ago by ejhernandez@…

  • Status changed from new to closed
  • Resolution set to fixed

I think I can close. Every new thing should have its own ticket.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.