<div dir="ltr">Hi Jakob,<div>     Thanks. It solved my problem for now. I agree with your suggestion.</div><div>In our scenario this would be a regular thing for coming years and will</div><div>not be seen as standard way for operations. </div><div><br></div><div>--</div><div>Rishi Pathak</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 9, 2016 at 5:00 PM, Jakob Bohm <span dir="ltr"><<a href="mailto:jb-openssl@wisemo.com" target="_blank">jb-openssl@wisemo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 09/09/2016 12:11, Rishi Pathak wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
       For a reason we require lastUpdate to be set to a date in the previous year, with<br>
nextUpdate a year from now in our CRL. Search on google led me to a patch which<br>
allows use of startDate/endDate for CRL generation as well apart from certificates.<br>
Seems like 1.0-1 does not have it. Any pointers to how I can achieve this using<br>
OpenSSL(version) or another utility, preferably on Linux.<br>
<br>
</blockquote></span>
For such tasks, I currently use the faketime utility program<br>
to run the openssl command line tool in a context with the<br>
data artificially set to the desired time in the past.<br>
<br>
I have previously suggested that an "as of" time argument<br>
be added to certificate and signature validation operations,<br>
and your use case suggests the same for issuance and signing<br>
operations as well.<br>
<br>
In fact, it seems the general solution (in future OpenSSL<br>
updates) would be for all operations that use the "current<br>
time/date" to accept an alternative value of that as an<br>
argument.<br>
<br>
Enjoy<br>
<br>
Jakob<span class="HOEnZb"><font color="#888888"><br>
-- <br>
Jakob Bohm, CIO, Partner, WiseMo A/S.  <a href="https://www.wisemo.com" rel="noreferrer" target="_blank">https://www.wisemo.com</a><br>
Transformervej 29, 2860 Søborg, Denmark.  Direct <a href="tel:%2B45%2031%2013%2016%2010" value="+4531131610" target="_blank">+45 31 13 16 10</a><br>
This public discussion message is non-binding and may contain errors.<br>
WiseMo - Remote Service Management for PCs, Phones and Embedded<br>
<br>
-- <br>
openssl-users mailing list<br>
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-users" rel="noreferrer" target="_blank">https://mta.openssl.org/mailma<wbr>n/listinfo/openssl-users</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">-------------This message is sent with 100% recycled electrons-----------</div>
</div>