Rule 22. Habeas Corpus and Section 2255 Proceedings
(a)
Application for the Original Writ. An application for a writ of habeas corpus must be made to the appropriate district court. If made to a circuit judge, the application must be transferred to the appropriate district court. If a district court denies an application made or transferred to it, renewal of the application before a circuit judge is not permitted. The applicant may, under 28 U.S.C. § 2253, appeal to the court of appeals from the district court’s order denying the application.
(b)
Certificate of Appealability.
(1)
In a habeas corpus proceeding in which the detention complained of arises from process issued by a state court, or in a 28 U.S.C. § 2255 proceeding, the applicant cannot take an appeal unless a circuit justice or a circuit or district judge issues a certificate of appealability under 28 U.S.C. § 2253
(c). If an applicant files a notice of appeal, the district clerk must send to the court of appeals the certificate (if any) and the statement described in Rule 11(a) of the Rules Governing Proceedings Under 28 U.S.C. § 2254 or § 2255 (if any), along with the notice of appeal and the file of the district-court proceedings. If the district judge has denied the certificate, the applicant may request a circuit judge to issue it.