<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>14288</bug_id>
          
          <creation_ts>2008-02-01 20:21:22 +0300</creation_ts>
          <short_desc>[META] Certificates should be created by functions from cert-sh-functions</short_desc>
          <delta_ts>2014-04-09 02:24:04 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>cross-component</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>METABUG</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>2169</dependson>
    
    <dependson>11543</dependson>
    
    <dependson>11546</dependson>
    
    <dependson>14287</dependson>
    
    <dependson>14304</dependson>
    
    <dependson>15209</dependson>
    
    <dependson>15938</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mikhail Gusarov">dottedmag</reporter>
          <assigned_to name="Dmitry V. Levin">ldv</assigned_to>
          <cc>inger</cc>
    
    <cc>lav</cc>
    
    <cc>vvk</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>62461</commentid>
    <comment_count>0</comment_count>
    <who name="Mikhail Gusarov">dottedmag</who>
    <bug_when>2008-02-01 20:21:22 +0300</bug_when>
    <thetext>There is package cert-sh-functions containing certificate generation tools. It 
should be used to create all applicable certificates in Sisyphus.

Usage examples are in httpd-alterator and ahttpd packages.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68898</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitriy Kruglikov">Dmitriy.Kruglikov</who>
    <bug_when>2008-04-24 14:50:40 +0400</bug_when>
    <thetext> Если в /usr/bin/cert-sh-functions добавить строки:
#pem
ssl_check_pem()
{
    [ -n &quot;$1&quot; -a -f &quot;$SSL_CSRDIR/$1.pem&quot; ]
}


ssl_make_pem(){
    ssl_check_pem &quot;$@&quot; &amp;&amp; return
    [ -n &quot;$1&quot; ] ||
        ssl_fatal &apos;Insufficient arguments.&apos;

   &quot;$OPENSSL&quot; req -new -x509 -days 365 -nodes -out &quot;$SSL_CSRDIR/$1.pem&quot; -keyout
&quot;$SSL_CSRDIR/$1.pem&quot; -config $2 &gt;/dev/null 2&gt;&amp;1 ||
        ssl_fatal &apos;Unable to create PEM certificate&apos;
}
перед строкой
#dh params
или в любом удобном месте, то можно будет генерировать сертификаты *.pem 
для cyrus-imap, например.

В качестве параметров передается имя файла сертификата и имя файла с ответами на
вопросы (формат /etc/ahttpd/ahttpd.cnf устраивает)
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68903</commentid>
    <comment_count>2</comment_count>
    <who name="Mikhail Gusarov">dottedmag</who>
    <bug_when>2008-04-24 15:30:49 +0400</bug_when>
    <thetext>(In reply to comment #1)
&gt;  Если в /usr/bin/cert-sh-functions добавить строки:

Повешайте enh-багом на cert-sh-functions. Здесь это предложение сгниёт навечно.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>