# Signing of bundles

**URL:** <https://bnd.discourse.group/t/signing-of-bundles/279>\
**Category:** GENERAL\
**Created:** [December 20, 2022, 3:34pm UTC](https://bnd.discourse.group/t/signing-of-bundles/279 "2022-12-20T15:34:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterkir](https://yyz2.discourse-cdn.com/free1/user_avatar/bnd.discourse.group/peterkir/32/28_2.png) [@peterkir](https://bnd.discourse.group/u/peterkir)\
**Post date:** [December 20, 2022, 3:34pm UTC](https://bnd.discourse.group/t/signing-of-bundles/279/1 "2022-12-20T15:34:38Z")

</div>

Hello to all of you,

In a workspace setup with bndtools 6.4, I like to directly sign the bundles generated.  
Therefore I followed the doc inside [-sign](https://bnd.bndtools.org/instructions/sign.html)  
and entered into my bundles `bnd.bnd` the following section.

```auto
-sign: ${alias}; \
	password:=${keypass};\
	keystore:=${workspace}/keystore.jks;\
	sign-password:=${keystorepass}

```

Bundle is successfully generated without signing.  
Did not get any error or log output hinting what is going wrong. Even with Build Debug Logging on Full.

Any hints are appreciated.

---

<div class="post-metadata">

**Author:** ![bjhargrave](https://yyz2.discourse-cdn.com/free1/user_avatar/bnd.discourse.group/bjhargrave/32/10_2.png) [@bjhargrave](https://bnd.discourse.group/u/bjhargrave)\
**Post date:** [December 20, 2022, 4:19pm UTC](https://bnd.discourse.group/t/signing-of-bundles/279/2 "2022-12-20T16:19:09Z")

</div>

Did you configure a SignerPlugin in the workspace?

See [osgi/build.bnd at fc60c8dd5eec809c91c054b5c22a79d873e173bc · osgi/osgi · GitHub](https://github.com/osgi/osgi/blob/fc60c8dd5eec809c91c054b5c22a79d873e173bc/cnf/build.bnd#L30-L34) for example.

---

<div class="post-metadata">

**Author:** ![peterkir](https://yyz2.discourse-cdn.com/free1/user_avatar/bnd.discourse.group/peterkir/32/28_2.png) [@peterkir](https://bnd.discourse.group/u/peterkir)\
**Post date:** [December 22, 2022, 10:14am UTC](https://bnd.discourse.group/t/signing-of-bundles/279/3 "2022-12-22T10:14:56Z")

</div>

Nope I didn’t. Works as a charm afterwards ☺  
Thx BJ
