---
name: "fswcert"
section: "8"
platform: "linux"
package: "openswan"
version: "1:2.4.12+dfsg-1.3+lenny4"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/fswcert"
---

# fswcert(8)

manipulate raw RSA keys and PKIX certificates

## NAME

fswcert - manipulate raw RSA keys and PKIX certificates

## SYNOPSIS

fswcert \[**--certificate**\] \[**--key**\] \[**--left**\>\] \[**--raw**\] \[**--right**\] \[**--type**=*input*\] \[**--format**=*stuff*\] \[**--quiet**\] \[**--directory**=\<dir\>\] \[**--version**\]

fswcert **--help**

## DESCRIPTION

**fswcert** is a program to convert X.509/PKIX format certificates and private key files to Openswan ipsec.secrets files and DNS records.  It can also read Openswan ipsec.secrets files and (interactively) produce certificate requests and self-signed certificates.

WRITE MORE

*input* is the file to read for POD source (the POD can be embedded in code).  If *input* isn't given, it defaults to STDIN.  *output*, if given, is the file to which to write the formatted output.  If *output* isn't given, the formatted output is written to STDOUT.  Several POD files can be processed in the same **pod2man** invocation (saving module load and compile times) by providing multiple pairs of *input* and *output* files on the command line.

**--section**, **--release**, **--center**, **--date**, and **--official** can be used to set the headers and footers to use; if not given, Pod::Man will assume various defaults.  See below or Pod::Man for details.

**pod2man** assumes that your \*roff formatters have a fixed-width font named CW.  If yours is called something else (like CR), use **--fixed** to specify it.  This generally only matters for troff output for printing.  Similarly, you can set the fonts used for bold, italic, and bold italic fixed-width output.

Besides the obvious pod conversions, Pod::Man, and therefore pod2man also takes care of formatting *func()*, func(n), and simple variable references like `$foo` or `@bar` so you don't have to use code escapes for them; complex expressions like `$fred{'stuff'}` will still need to be escaped, though. It also translates dashes that aren't used as hyphens into en dashes, makes long dashes--like this--into proper em dashes, fixes "paired quotes," and takes care of several other troff-specific tweaks.  See Pod::Man for complete information.

## OPTIONS

- **-c** *string*, **--center**=*string*

  Sets the centered page header to *string*.  The default is "User Contributed Perl Documentation", but also see **--official** below.

- **-d** *string*, **--date**=*string*

  Set the left-hand footer string to this value.  By default, the modification date of the input file will be used, or the current date if input comes from STDIN.

- **--fixed**=*font*

  The fixed-width font to use for vertabim text and code.  Defaults to CW. Some systems may want CR instead.  Only matters for [*troff*(1)](/troff/1.md) output.

- **--fixedbold**=*font*

  Bold version of the fixed-width font.  Defaults to CB.  Only matters for [*troff*(1)](/troff/1.md) output.

- **--fixeditalic**=*font*

  Italic version of the fixed-width font (actually, something of a misnomer, since most fixed-width fonts only have an oblique version, not an italic version).  Defaults to CI.  Only matters for [*troff*(1)](/troff/1.md) output.

- **--fixedbolditalic**=*font*

  Bold italic (probably actually oblique) version of the fixed-width font. Pod::Man doesn't assume you have this, and defaults to CB.  Some systems (such as Solaris) have this font available as CX.  Only matters for [*troff*(1)](/troff/1.md) output.

- **-h**, **--help**

  Print out usage information.

- **-l**, **--lax**

  Don't complain when required sections are missing.  Not currently used, as POD checking functionality is not yet implemented in Pod::Man.

- **-o**, **--official**

  Set the default header to indicate that this page is part of the standard Perl release, if **--center** is not also given.
