Skip to content
GitLab
  • Explore
  • Sign in
  • itmineduitminedu
  • snf-ganeti
  • Repository
  • snf-ganeti
  • lib
  • bootstrap.py
Find file Blame History Permalink
  • Manuel Franceschini's avatar
    Always set commonName in X509 certificates · 600535f0
    Manuel Franceschini authored Jul 19, 2010
    
    
    Due to the current switch of the RPC client to PycURL, a bug with newer
    versions of libcurl surfaced. When the 'Subject' or 'Issuer' of
    'server.pem' were empty, SSL handshake failed.
    
    This patch changes the certificate generation functions such that they
    always use "ganeti.example.com" as commonName (CN) for 'Subject' and
    'Issuer'.
    
    Signed-off-by: default avatarManuel Franceschini <livewire@google.com>
    Reviewed-by: default avatarIustin Pop <iustin@google.com>
    600535f0